Handbook
Glossary
?add-mouse-buttons ( device -- )
Vocabulary
game
.
input
.
iokit
Inputs
device
an
object
Outputs
None
Definition
USING:
accessors
kernel
math
namespaces
sequences
;
IN:
game.input.iokit
:
?add-mouse-buttons
( device -- )
button-count
+mouse-state+
get-global
buttons>>
2dup
length
>
[
set-length
]
[
2drop
]
if
;