Joysticks hat event
OperationsIndex of the hat that changed
method : public : GetHat() ~ Int
Type | Description |
---|---|
Int | hat index |
Timestamp of the event
method : public : GetTimestamp() ~ Int
Type | Description |
---|---|
Int | event timestamp |
Event type
method : public : GetType() ~ Int
Type | Description |
---|---|
Int | EventType->SDL_JOYHATMOTION |
New position of the hat
method : public : GetValue() ~ JoystickHatValue
Type | Description |
---|---|
JoystickHatValue | hat value |
Instance ID of the joystick that reported the event
method : public : GetWhich() ~ Int
Type | Description |
---|---|
Int | joystick ID |