SDL_GetScancodeFromName

Get a scancode from a human-readable name.

extern (C) nothrow @nogc extern
SDL_GetScancodeFromName
(
const(char)* name
)

Parameters

name const(char)*

the human-readable scancode name.

Return Value

The SDL_Scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized; call SDL_GetError() for more information.

Threadsafety: This function is not thread safe.

See Also

Meta