Function SDL_GetGamepadAppleSFSymbolsNameForButton

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

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

§Parameters

  • gamepad: the gamepad to query.
  • button: a button 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