Handbook
Glossary
record-button ( state hid-value element -- )
Vocabulary
game
.
input
.
iokit
Inputs
state
an
object
hid-value
an
object
element
an
object
Outputs
None
Definition
USING:
accessors
iokit.hid
kernel
math
sequences
;
IN:
game.input.iokit
:
record-button
( state hid-value element -- )
[
buttons>>
]
[
button-value
]
[
IOHIDElementGetUsage
1
-
]
tri*
rot
set-nth
;