Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SDL_ControllerButtonEvent Struct Reference
Game controller button event structure (event.cbutton. More...
#include <SDL_events.h>
Data Fields | |
| Uint32 | type |
| SDL_CONTROLLERBUTTONDOWN or SDL_CONTROLLERBUTTONUP | |
| SDL_JoystickID | which |
| The joystick instance id. | |
| Uint8 | button |
| The controller button (SDL_GameControllerButton) | |
| Uint8 | state |
| SDL_PRESSED or SDL_RELEASED | |
Detailed Description
Game controller button event structure (event.cbutton.
*)
Definition at line 361 of file SDL_events.h.
Field Documentation
The controller button (SDL_GameControllerButton)
Definition at line 366 of file SDL_events.h.
SDL_PRESSED or SDL_RELEASED
Definition at line 367 of file SDL_events.h.
SDL_CONTROLLERBUTTONDOWN or SDL_CONTROLLERBUTTONUP
Definition at line 363 of file SDL_events.h.
| SDL_JoystickID which |
The joystick instance id.
Definition at line 365 of file SDL_events.h.
Generated on Tue Jul 12 2022 13:56:26 by
1.7.2