|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Joystick button event structure (event.jbutton.*) Подробнее...
#include <SDL_events.h>
Открытые атрибуты | |
| Uint32 | type |
| Uint32 | timestamp |
| SDL_JoystickID | which |
| Uint8 | button |
| Uint8 | state |
| Uint8 | padding1 |
| Uint8 | padding2 |
Joystick button event structure (event.jbutton.*)
См. определение в файле SDL_events.h строка 352
| Uint32 SDL_JoyButtonEvent::type |
SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP
См. определение в файле SDL_events.h строка 354
| Uint32 SDL_JoyButtonEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
См. определение в файле SDL_events.h строка 355
| SDL_JoystickID SDL_JoyButtonEvent::which |
The joystick instance id
См. определение в файле SDL_events.h строка 356
| Uint8 SDL_JoyButtonEvent::button |
The joystick button index
См. определение в файле SDL_events.h строка 357
| Uint8 SDL_JoyButtonEvent::state |
::SDL_PRESSED or ::SDL_RELEASED
См. определение в файле SDL_events.h строка 358
| Uint8 SDL_JoyButtonEvent::padding1 |
См. определение в файле SDL_events.h строка 359
| Uint8 SDL_JoyButtonEvent::padding2 |
См. определение в файле SDL_events.h строка 360