Wiki Page Content

DRAFT

SDL_GetScancodeFromName

Use this function to get a scancode from a human-readable name.

Syntax

Toggle line numbers
SDL_Scancode SDL_GetScancodeFromName(const char* name)

Function Parameters

name

the human-readable scancode name

Return Value

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

Code Examples

Toggle line numbers
You can add your code example here

Remarks

You can add useful comments here

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryKeyboard

None: SDL_GetScancodeFromName (last edited 2016-10-20 20:57:25 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit