Game controller button event structure (event.cbutton.*)
Defined in SDL_events.h
typedef struct SDL_ControllerButtonEvent
{/**< SDL_CONTROLLERBUTTONDOWN or SDL_CONTROLLERBUTTONUP */
Uint32 type; /**< In milliseconds, populated using SDL_GetTicks() */
Uint32 timestamp; /**< The joystick instance id */
SDL_JoystickID which; /**< The controller button (SDL_GameControllerButton) */
Uint8 button; /**< SDL_PRESSED or SDL_RELEASED */
Uint8 state;
Uint8 padding1;
Uint8 padding2; } SDL_ControllerButtonEvent;