|
My Project
|
Game controller touchpad event structure (event.ctouchpad.*) More...
#include <SDL_events.h>
Public Attributes | |
| Uint32 | type |
| Uint32 | timestamp |
| SDL_JoystickID | which |
| Sint32 | touchpad |
| Sint32 | finger |
| float | x |
| float | y |
| float | pressure |
Game controller touchpad event structure (event.ctouchpad.*)
| Sint32 SDL_ControllerTouchpadEvent::finger |
The index of the finger on the touchpad
| float SDL_ControllerTouchpadEvent::pressure |
Normalized in the range 0...1
| Uint32 SDL_ControllerTouchpadEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
| Sint32 SDL_ControllerTouchpadEvent::touchpad |
The index of the touchpad
| Uint32 SDL_ControllerTouchpadEvent::type |
| SDL_JoystickID SDL_ControllerTouchpadEvent::which |
The joystick instance id
| float SDL_ControllerTouchpadEvent::x |
Normalized in the range 0...1 with 0 being on the left
| float SDL_ControllerTouchpadEvent::y |
Normalized in the range 0...1 with 0 being at the top