Record TSDL_ControllerTouchpadEvent

Hierarchy
Methods
Properties

Unit

Declaration

type TSDL_ControllerTouchpadEvent = record

Description

 

Overview

Fields

Public type_: cuint32;
Public timestamp: cuint32;
Public which: TSDL_JoystickID;
Public touchpad: cint32;
Public finger: cint32;
Public x: cfloat;
Public y: cfloat;
Public pressure: cfloat;

Description

Fields

Public type_: cuint32;
 
Public timestamp: cuint32;

SDL_CONTROLLERTOUCHPADDOWN or SDL_CONTROLLERTOUCHPADMOTION or SDL_CONTROLLERTOUCHPADUP

Public which: TSDL_JoystickID;

In milliseconds, populated using SDL_GetTicks()

Public touchpad: cint32;

The joystick instance id

Public finger: cint32;

The index of the touchpad

Public x: cfloat;

The index of the finger on the touchpad

Public y: cfloat;

Normalized in the range 0...1 with 0 being on the left

Public pressure: cfloat;

Normalized in the range 0...1 with 0 being at the top


Generated by PasDoc 0.16.0.