Class description The 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 indicating the state of the mouse's buttons. On X11, these are the five core pointer buttons in X11 button order; keyboard modifiers are excluded.
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.