Vocabularygame.
inputClass descriptionThe
read-mouse word returns objects of this class.
mouse-state objects have the following slots:
• | dx contains the mouse's X axis movement. |
• | dy contains the mouse's Y axis movement. |
• | scroll-dx contains the scroller's X axis movement. |
• | scroll-dy contains the scroller's Y axis movement. |
• | buttons contains a sequence of boolean values indicate the state of the mouse's buttons. |
Mouse movement is recorded relative to when the game input interface was opened with
open-game-input or the mouse state is reset with
reset-mouse.
DefinitionMethods