Merge branch 'master' of git://factorcode.org/git/factor

db4
Slava Pestov 2009-05-08 17:41:31 -05:00
commit f84d5c410b
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ ERROR: game-input-not-open ;
game-input-opened? [
(close-game-input)
reset-game-input
] when ;
] unless ;
: with-game-input ( quot -- )
open-game-input [ close-game-input ] [ ] cleanup ; inline

View File

@ -304,6 +304,7 @@ M: iokit-game-input-backend (close-game-input)
f
] change-global
f +keyboard-state+ set-global
f +mouse-state+ set-global
f +controller-states+ set-global
] when ;