SDL_EventType | type | SDL_EVENT_GAMEPAD_BUTTON_DOWN, SDL_EVENT_GAMEPAD_BUTTON_UP |
Uint32 | reserved | 予約 |
Uint64 | timestamp | イベントのナノ秒単位のタイムスタンプ. SDL_GetTicksNS()で設定 |
SDL_JoystickID | which | ジョイスティックインスタンスID |
Uint8 | button | ゲームパッドボタン(SDL_GamepadButton) |
bool | down | 押されたとき真 |
Uint8 | padding1 | |
Uint8 | padding2 |