game.input: fix load error on *BSD, remove dependency on windows.com from game.input.linux
parent
b59da05347
commit
170f2b5eca
|
@ -94,4 +94,5 @@ M: mouse-state clone
|
|||
{ [ os windows? ] [ "game.input.xinput" require ] }
|
||||
{ [ os macosx? ] [ "game.input.iokit" require ] }
|
||||
{ [ os linux? ] [ "game.input.linux" require ] }
|
||||
[ ]
|
||||
} cond
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
! Copyright (C) 2010 Erik Charlebois.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel game.input namespaces classes windows.com.syntax
|
||||
bit-arrays
|
||||
vectors ;
|
||||
USING: kernel game.input namespaces classes bit-arrays vectors ;
|
||||
IN: game.input.linux
|
||||
|
||||
SINGLETON: linux-game-input-backend
|
||||
|
@ -25,10 +23,10 @@ M: linux-game-input-backend product-string
|
|||
drop "" ;
|
||||
|
||||
M: linux-game-input-backend product-id
|
||||
drop GUID: {00000000-0000-0000-0000-000000000000} ;
|
||||
drop f ;
|
||||
|
||||
M: linux-game-input-backend instance-id
|
||||
drop GUID: {00000000-0000-0000-0000-000000000000} ;
|
||||
drop f ;
|
||||
|
||||
M: linux-game-input-backend read-controller
|
||||
drop controller-state new ;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
unportable
|
||||
games
|
||||
|
|
Loading…
Reference in New Issue