Support Forum G3D Web Page |
Joystick hat position change event structure. More...
Public Attributes | |
uint8 | hat |
The joystick hat index. More... | |
const OSWindow * | osWindow |
The current window for this event. More... | |
uint8 | type |
GEventType::JOYHATMOTION. More... | |
uint8 | value |
The hat position value: SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN Note that zero means the POV is centered. More... | |
uint8 | which |
The joystick device index. More... | |
Joystick hat position change event structure.
uint8 G3D::JoyHatEvent::hat |
The joystick hat index.
const OSWindow* G3D::JoyHatEvent::osWindow |
The current window for this event.
uint8 G3D::JoyHatEvent::type |
GEventType::JOYHATMOTION.
uint8 G3D::JoyHatEvent::value |
The hat position value: SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN Note that zero means the POV is centered.
uint8 G3D::JoyHatEvent::which |
The joystick device index.