Joysticks axis event
OperationsIndex of the axis that changed
method : public : GetAxis() ~ Int
Type | Description |
---|---|
Int | axis 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_JOYAXISMOTION |
Current position of the axis (range: -32768 to 32767)
method : public : GetValue() ~ Int
Type | Description |
---|---|
Int | axis position |
Instance ID of the joystick that reported the event
method : public : GetWhich() ~ Int
Type | Description |
---|---|
Int | joystick ID |