Input¶
Constants¶
-
M_LEFT - left mouse button
-
M_RIGHT - right mouse button
-
M_MIDDLE - middle mouse button
-
M_WHEEL_UP - scrolling the mouse wheel up
-
M_WHEEL_DOWN - scrolling the mouse wheel down
Keyboard¶
-
class
serge.input.
Keyboard
[source]¶ Bases:
serge.common.Loggable
Represents the state of the keyboard
Mouse¶
-
class
serge.input.
Mouse
(engine)[source]¶ Bases:
object
Represents the state of the mouse