SDL Wiki

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_Finger

A structure that contains touch information.

Data Fields

SDL_FingerID

id

the finger id

float

x

the x-axis location of the touch event, normalized (0...1)

float

y

the y-axis location of the touch event, normalized (0...1)

float

pressure

the quantity of pressure applied, normalized (0...1)

Version

This structure is available since SDL 2.0.0.

SDL_TouchFingerEvent
SDL_GetNumTouchFingers
SDL_GetTouchFinger

CategoryStruct, CategoryEvents, CategoryDraft


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.