Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2011-10-25 23:24:39
Size: 965
Editor: SheenaSmith
Comment: update content - RFs
Revision 3 as of 2013-09-01 18:43:50
Size: 976
Comment: Updated usage of Color2 macro.
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
<<Color2(green,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.

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.

Should this refer to the SDL_Scancode instead of just scancode? Leave error call in?

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryKeyboard

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

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