Mouse wheel event
OperationsMouse wheel scroll direction
method : public : GetDirection() ~ MouseWheelDirection
Type | Description |
---|---|
MouseWheelDirection | SDL_MOUSEWHEEL_NORMAL or SDL_MOUSEWHEEL_FLIPPED |
Timestamp of the event
method : public : GetTimestamp() ~ Int
Type | Description |
---|---|
Int | event timestamp |
Event type
method : public : GetType() ~ Int
Type | Description |
---|---|
Int | EventType->SDL_MOUSEWHEEL |
Mouse instance id or -1
method : public : GetWhich() ~ Int
Window with mouse focus, if any
method : public : GetWindowID() ~ Int
Type | Description |
---|---|
Int | window ID |
Amount scrolled horizontally, positive to the right and negative to the left
method : public : GetX() ~ Int
Type | Description |
---|---|
Int | horizontally scrolled value |
Amount scrolled vertically, positive away from the user and negative toward the user
method : public : GetY() ~ Int
Type | Description |
---|---|
Int | vertically scrolled value |