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.LoggableRepresents the state of the keyboard
Mouse¶
-
class
serge.input.Mouse(engine)[source]¶ Bases:
objectRepresents the state of the mouse