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.

§Parameters

  • touchID: the ID of a touch device.

§Return value

Returns touch device type.

§Availability

This function is available since SDL 3.2.0.