|
Size: 976
Comment: Updated usage of Color2 macro.
|
Size: 982
Comment: Hid green comment in comment.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| <<Color2(col=green,text="Should this refer to the SDL_Scancode instead of just scancode? Leave error call in?")>> | /* <<Color2(col=green,text="Should this refer to the SDL_Scancode instead of just scancode? Leave error call in?")>> */ |
DRAFT |
SDL_GetScancodeFromName
Use this function to get a scancode from a human-readable name.
Contents
Syntax
SDL_Scancode SDL_GetScancodeFromName(const char* name)
Function Parameters
name |
the human-readable scancode name |
Return Value
Returns the scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized; call [[SDL_GetError]]() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
