SDL_GetKeyboardNameForID - Get the name of a keyboard.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This function returns "" if the keyboard doesn't have a name.
Function Parameters
instance_id
the keyboard instance ID.
Header File
Defined in SDL3/SDL_keyboard.h
Name
SDL_GetKeyboardNameForID - Get the name of a keyboard.
Return Value
Returns the name of the selected keyboard or NULL on failure; call SDL_GetError () for more information.
See Also
•(3), SDL_GetKeyboards(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetKeyboardNameForID(3)
Synopsis
#include"SDL3/SDL.h"constchar*SDL_GetKeyboardNameForID(SDL_KeyboardIDinstance_id);
Thread Safety
This function should only be called on the main thread.
