Skip to main content

SDL_GetTouchDeviceName

Function SDL_GetTouchDeviceName 

Source
pub unsafe extern "C" fn SDL_GetTouchDeviceName(
    touchID: SDL_TouchID,
) -> *const c_char
Expand description

Get the touch device name as reported from the driver.

§Parameters

  • touchID: the touch device instance ID.

§Return value

Returns touch device name, or NULL on failure; call SDL_GetError() for more information.

§Availability

This function is available since SDL 3.2.0.