Function SDL_GetGamepadAppleSFSymbolsNameForAxis

pub unsafe extern "C" fn SDL_GetGamepadAppleSFSymbolsNameForAxis(
    gamepad: *mut SDL_Gamepad,
    axis: SDL_GamepadAxis,
) -> *const i8
Available on crate feature dep_sdl3 only.
Expand description

Return the sfSymbolsName for a given axis on a gamepad on Apple platforms.

§Parameters

  • gamepad: the gamepad to query.
  • axis: an axis on the gamepad.

§Return value

Returns the sfSymbolsName or NULL if the name can’t be found.

§Availability

This function is available since SDL 3.2.0.

§See also