Handbook
Glossary
(close-game-input) ( -- )
Vocabulary
game
.
input
Inputs
None
Outputs
None
Definition
IN:
game.input
HOOK:
(close-game-input)
game-input-backend
( -- )
Methods
USING:
core-foundation
core-foundation.run-loop
game.input
game.input.iokit
iokit.hid
kernel
namespaces
;
M:
iokit-game-input-backend
(close-game-input)
+hid-manager+
get-global
[
+hid-manager+
[
[
CFRunLoopGetMain
CFRunLoopDefaultMode
IOHIDManagerUnscheduleFromRunLoop
]
[
0
IOHIDManagerClose
drop
]
[
CFRelease
]
tri
f
]
change-global
f
+keyboard-state+
set-global
f
+mouse-state+
set-global
f
+controller-states+
set-global
]
when
;