Record TSDL_ControllerTouchpadEvent
Unit
Declaration
type TSDL_ControllerTouchpadEvent = record
Description
Overview
Fields
![]() |
type_: cuint32; |
![]() |
timestamp: cuint32; |
![]() |
which: TSDL_JoystickID; |
![]() |
touchpad: cint32; |
![]() |
finger: cint32; |
![]() |
x: cfloat; |
![]() |
y: cfloat; |
![]() |
pressure: cfloat; |
Description
Fields
![]() |
type_: cuint32; |
![]() |
timestamp: cuint32; |
|
SDL_CONTROLLERTOUCHPADDOWN or SDL_CONTROLLERTOUCHPADMOTION or SDL_CONTROLLERTOUCHPADUP | |
![]() |
which: TSDL_JoystickID; |
|
In milliseconds, populated using SDL_GetTicks() | |
![]() |
touchpad: cint32; |
|
The joystick instance id | |
![]() |
finger: cint32; |
|
The index of the touchpad | |
![]() |
x: cfloat; |
|
The index of the finger on the touchpad | |
![]() |
y: cfloat; |
|
Normalized in the range 0...1 with 0 being on the left | |
![]() |
pressure: cfloat; |
|
Normalized in the range 0...1 with 0 being at the top | |
Generated by PasDoc 0.16.0.
