Handbook
Glossary
button-value ( value -- f/(0,1] )
Vocabulary
game
.
input
.
iokit
Inputs
value
an
object
Outputs
f/(0,1]
an
object
Definition
USING:
iokit.hid
kernel
math
;
IN:
game.input.iokit
:
button-value
( value -- f/(0,1] )
IOHIDValueGetIntegerValue
dup
zero?
[
drop
f
]
when
;