Wiki Page Content

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2011-10-26 00:34:38
Size: 923
Editor: SheenaSmith
Comment: create page - 10/25 50560ca58f80 (10/24 4a8bbaa52b9b)
Revision 3 as of 2015-05-31 19:22:38
Size: 940
Comment: Hid green comment in comment.
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
<<Color2(green,Should it refer to SDL_Keycode instead of key code? Leave error call in?)>> /* <<Color2(col=green,text="Should it refer to SDL_Keycode instead of key code? Leave error call in?")>> */

DRAFT

SDL_GetKeyFromName

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

Syntax

SDL_Keycode SDL_GetKeyFromName(const char* name)

Function Parameters

name

the human-readable key name

Return Value

Returns key code, or SDLK_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


CategoryAPI, CategoryKeyboard

None: SDL_GetKeyFromName (last edited 2016-04-10 22:16:36 by PhilippWiesemann)

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