Handbook
Glossary
(device-matched-callback) ( context result sender device -- )
Vocabulary
game
.
input
.
iokit
Inputs
context
an
object
result
an
object
sender
an
object
device
an
object
Outputs
None
Definition
USING:
assocs
combinators
namespaces
;
IN:
game.input.iokit
::
(device-matched-callback)
( context result sender device -- )
{
{
[
device
mouse-device?
]
[
device
?add-mouse-buttons
]
}
{
[
device
controller-device?
]
[
device
<device-controller-state>
device
+controller-states+
get-global
set-at
]
}
[
]
}
cond
;