SDL Library
SDL_touch.h File Reference
Include file for SDL touch event handling. More...
Go to the source code of this file.
Functions | |
DECLSPEC int SDLCALL | SDL_GetNumTouchDevices (void) |
Get the number of registered touch devices. | |
DECLSPEC SDL_TouchID SDLCALL | SDL_GetTouchDevice (int index) |
Get the touch ID with the given index, or 0 if the index is invalid. | |
DECLSPEC int SDLCALL | SDL_GetNumTouchFingers (SDL_TouchID touchID) |
Get the number of active fingers for a given touch device. | |
DECLSPEC SDL_Finger *SDLCALL | SDL_GetTouchFinger (SDL_TouchID touchID, int index) |
Get the finger object of the given touch, with the given index. |
Detailed Description
Include file for SDL touch event handling.
Definition in file SDL_touch.h.
Function Documentation
DECLSPEC int SDLCALL SDL_GetNumTouchDevices | ( | void | ) |
Get the number of registered touch devices.
DECLSPEC int SDLCALL SDL_GetNumTouchFingers | ( | SDL_TouchID | touchID ) |
Get the number of active fingers for a given touch device.
DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice | ( | int | index ) |
Get the touch ID with the given index, or 0 if the index is invalid.
DECLSPEC SDL_Finger* SDLCALL SDL_GetTouchFinger | ( | SDL_TouchID | touchID, |
int | index | ||
) |
Get the finger object of the given touch, with the given index.
Generated on Tue Jul 12 2022 15:10:21 by 1.7.2