Skip to main content

SDL_GetTouchDeviceType

Function SDL_GetTouchDeviceType 

Source
pub unsafe extern "C" fn SDL_GetTouchDeviceType(
    touchID: SDL_TouchID,
) -> SDL_TouchDeviceType
Expand description

Get the type of the given touch device.

Parameter: touchID the ID of a touch device. Returns: touch device type.

Available Since: This function is available since SDL 3.2.0.