Mouse motion event
OperationsRelative motion in the X direction
method : public : GetRelX() ~ Int
Type | Description |
---|---|
Int | X direction |
Relative motion in the Y direction
method : public : GetRelY() ~ Int
Type | Description |
---|---|
Int | Y direction |
State of the button
method : public : GetState() ~ Int
Type | Description |
---|---|
Int | button state |
Timestamp of the event
method : public : GetTimestamp() ~ Int
Type | Description |
---|---|
Int | event timestamp |
Event type
method : public : GetType() ~ Int
Type | Description |
---|---|
Int | EventType->SDL_MOUSEMOTION |
Mouse instance id or -1
method : public : GetWhich() ~ Int
Window with mouse focus, if any
method : public : GetWindowID() ~ Int
Type | Description |
---|---|
Int | window ID |
X coordinate, relative to window
method : public : GetX() ~ Int
Type | Description |
---|---|
Int | X coordinate |
Y coordinate, relative to window
method : public : GetY() ~ Int
Type | Description |
---|---|
Int | Y coordinate |