Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2011-02-07 19:23:27
Size: 845
Editor: KenBull
Comment: renamed SDLKey and SDL_scancode
Revision 6 as of 2015-05-31 19:44:04
Size: 833
Comment: Removed ???.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''scancode'''||the desired [[SDL_Scancode]] to query ???|| ||'''scancode'''||the desired [[SDL_Scancode]] to query||
Line 19: Line 19:
Returns the [[SDL_Keycode]] that corresponds to the given [[SDL_Scancode]]. ??? Returns the [[SDL_Keycode]] that corresponds to the given [[SDL_Scancode]].
Line 31: Line 31:
 .[[SDL_GetScancodeFromKey]] ???  .[[SDL_GetScancodeFromKey]]

DRAFT

SDL_GetKeyFromScancode

Use this function to get the key code corresponding to the given scancode according to the current keyboard layout.

Syntax

SDL_Keycode SDL_GetKeyFromScancode(SDL_Scancode scancode)

Function Parameters

scancode

the desired SDL_Scancode to query

Return Value

Returns the SDL_Keycode that corresponds to the given SDL_Scancode.

Code Examples

You can add your code example here

Remarks

See SDL_Keycode for details.


CategoryAPI, CategoryKeyboard

None: SDL_GetKeyFromScancode (last edited 2015-05-31 19:44:04 by PhilippWiesemann)

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