SDL_SetScancodeName

Set a human-readable name for a scancode.

extern (C) nothrow @nogc extern
bool
SDL_SetScancodeName
(,
const(char)* name
)

Parameters

scancode SDL_Scancode

the desired SDL_Scancode.

name const(char)*

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

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: This function is not thread safe.

See Also

Meta