Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

magnum.platform.sdl2.Application.MouseMoveEvent class

Mouse move event

Enums

class Buttons: LEFT = 1 MIDDLE = 2 RIGHT = 4
Set of mouse buttons
class Modifier: SHIFT = 3 CTRL = 192 ALT = 768 SUPER = 3072
Modifier

Properties

accepted: bool get set
Accepted status of the event
buttons: Buttons get
Mouse buttons
modifiers: InputEvent.Modifier get
Modifiers
position: Vector2i get
Position
relative_position: Vector2i get
Relative position