getAppleSfSymbolsNameForButton method

String? getAppleSfSymbolsNameForButton(
  1. int button
)

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

\param gamepad the gamepad to query. \param button a button on the gamepad. \returns the sfSymbolsName or NULL if the name can't be found.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.2.0.

\sa SDL_GetGamepadAppleSFSymbolsNameForAxis

extern SDL_DECLSPEC const char * SDLCALL SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad *gamepad, SDL_GamepadButton button)

{@category gamepad}

Implementation

String? getAppleSfSymbolsNameForButton(int button) =>
    sdlGetGamepadAppleSfSymbolsNameForButton(this, button);