Wiki Page Content

Differences between revisions 7 and 8
Revision 7 as of 2011-02-07 19:33:46
Size: 841
Editor: KenBull
Comment: missed an SDL_scancode
Revision 8 as of 2015-05-31 19:43:23
Size: 828
Comment: Removed ???.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''key'''||the desired [[SDL_Keycode]] to query ???|| ||'''key'''||the desired [[SDL_Keycode]] to query||
Line 19: Line 19:
Returns the [[SDL_Scancode]] that corresponds to the given [[SDL_Keycode]]. ??? Returns the [[SDL_Scancode]] that corresponds to the given [[SDL_Keycode]].
Line 27: Line 27:
See [[SDL_Scancode]] for details.  See [[SDL_Scancode]] for details.
Line 30: Line 30:
 .[[SDL_GetKeyFromScancode]] ???  .[[SDL_GetKeyFromScancode]]

DRAFT

SDL_GetScancodeFromKey

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

Syntax

SDL_Scancode SDL_GetScancodeFromKey(SDL_Keycode key)

Function Parameters

key

the desired SDL_Keycode to query

Return Value

Returns the SDL_Scancode that corresponds to the given SDL_Keycode.

Code Examples

You can add your code example here

Remarks

See SDL_Scancode for details.


CategoryAPI, CategoryKeyboard

None: SDL_GetScancodeFromKey (last edited 2015-05-31 19:43:23 by PhilippWiesemann)

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