SDL_SetScancodeName - Man Page
Set a human-readable name for a scancode.
Synopsis
#include <SDL3/SDL_keyboard.h> bool SDL_SetScancodeName(SDL_Scancode scancode, const char *name);
Function Parameters
- scancode
the desired SDL_Scancode.
- name
the name to use for the scancode, encoded as UTF-8. The string is not copied, so the pointer given to this function must stay valid while SDL is being used.
Return Value
for more information.
Thread Safety
This function is not thread safe.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS