|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Joystick hat position change event structure (event.jhat.*) Подробнее...
#include <SDL_events.h>
Открытые атрибуты | |
| Uint32 | type |
| Uint32 | timestamp |
| SDL_JoystickID | which |
| Uint8 | hat |
| Uint8 | value |
| Uint8 | padding1 |
| Uint8 | padding2 |
Joystick hat position change event structure (event.jhat.*)
См. определение в файле SDL_events.h строка 332
| Uint32 SDL_JoyHatEvent::type |
См. определение в файле SDL_events.h строка 334
| Uint32 SDL_JoyHatEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
См. определение в файле SDL_events.h строка 335
| SDL_JoystickID SDL_JoyHatEvent::which |
The joystick instance id
См. определение в файле SDL_events.h строка 336
| Uint8 SDL_JoyHatEvent::hat |
The joystick hat index
См. определение в файле SDL_events.h строка 337
| Uint8 SDL_JoyHatEvent::value |
The hat position value.
Note that zero means the POV is centered.
См. определение в файле SDL_events.h строка 338
| Uint8 SDL_JoyHatEvent::padding1 |
См. определение в файле SDL_events.h строка 345
| Uint8 SDL_JoyHatEvent::padding2 |
См. определение в файле SDL_events.h строка 346