Wiki Page Content

Differences between revisions 9 and 10
Revision 9 as of 2013-09-01 18:40:04
Size: 957
Comment: Updated usage of Color2 macro.
Revision 10 as of 2015-05-31 19:16:55
Size: 960
Comment: Hid green comment in comment.
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
Returns a pointer to the name for the scancode. If the scancode doesn't have a name this function returns an empty string ("").   Returns a pointer to the name for the scancode. If the scancode doesn't have a name this function returns an empty string ("").
Line 21: Line 21:
<<Color2(col=green,text="Should scancode here be bold? Should the pointer be mentioned? Any error state?")>> /* <<Color2(col=green,text="Should scancode here be bold? Should the pointer be mentioned? Any error state?")>> */
Line 29: Line 29:
See [[SDL_Scancode]] for details.  See [[SDL_Scancode]] for details.

DRAFT

SDL_GetScancodeName

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

Syntax

const char* SDL_GetScancodeName(SDL_Scancode scancode)

Function Parameters

scancode

the desired SDL_Scancode to query ???

Return Value

Returns a pointer to the name for the scancode. If the scancode doesn't have a name this function returns an empty string ("").

Code Examples

You can add your code example here

Remarks

See SDL_Scancode for details.


CategoryAPI, CategoryKeyboard

None: SDL_GetScancodeName (last edited 2016-10-21 22:04:39 by PhilippWiesemann)

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