Function SDL_GetTouchDeviceName

pub unsafe extern "C" fn SDL_GetTouchDeviceName(
    touchID: u64,
) -> *const i8
Available on crate feature dep_sdl3 only.
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.