SDL_GetKeyboardNameForID

Get the name of a keyboard.

This function returns "" if the keyboard doesn't have a name.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetKeyboardNameForID

Parameters

instance_id SDL_KeyboardID

the keyboard instance ID.

Return Value

Type: const(char)*

the name of the selected keyboard or NULL on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See Also

Meta