Support Forum       G3D Web Page     
Public Attributes | List of all members
G3D::JoyHatEvent Class Reference

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...
 

Detailed Description

Joystick hat position change event structure.

Member Data Documentation

◆ hat

uint8 G3D::JoyHatEvent::hat

The joystick hat index.

◆ osWindow

const OSWindow* G3D::JoyHatEvent::osWindow

The current window for this event.

◆ type

uint8 G3D::JoyHatEvent::type

GEventType::JOYHATMOTION.

◆ value

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.

◆ which

uint8 G3D::JoyHatEvent::which

The joystick device index.


documentation generated on Wed Nov 24 2021 08:01:57 using doxygen 1.8.15