]> gitweb.factorcode.org Git - factor.git/commitdiff
game.input: fix load error on *BSD, remove dependency on windows.com from game.input...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 19 Feb 2010 05:24:23 +0000 (18:24 +1300)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 19 Feb 2010 05:24:23 +0000 (18:24 +1300)
basis/game/input/input.factor
basis/game/input/linux/linux.factor
basis/game/input/linux/tags.txt

index 7543a05c608f76a2d69d37e05c62e4eaf5b1fed5..8a269cd51a2a690dc31f5d6badc0b557c6277081 100644 (file)
@@ -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
index 465cefa84b3cae5f592dfc69e5038b99474963a5..0d451e96f0fdd87bdeb9a8889f77a91c7110176a 100644 (file)
@@ -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 ;
index 84d4140a708087ed366b2c57729dee056dbc0149..82506ff25057eb75d26306ad84e5c8803450f477 100644 (file)
@@ -1 +1,2 @@
+unportable
 games