sdlGetTouchDeviceType function
Get the type of the given touch device.
\since This function is available since SDL 2.0.10.
extern DECLSPEC SDL_TouchDeviceType SDLCALL SDL_GetTouchDeviceType(SDL_TouchID touchID)
Implementation
int sdlGetTouchDeviceType(int touchId) {
final sdlGetTouchDeviceTypeLookupFunction = libSdl2.lookupFunction<
Int32 Function(Int64 touchId),
int Function(int touchId)>('SDL_GetTouchDeviceType');
return sdlGetTouchDeviceTypeLookupFunction(touchId);
}