Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-10-11 19:38:35
Size: 826
Editor: SheenaSmith
Comment: minor change
Revision 6 as of 2011-02-07 19:21:08
Size: 841
Editor: KenBull
Comment: renamed SDLKey and SDL_scancode
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
SDL_scancode SDL_GetScancodeFromKey(SDLKey key) SDL_scancode SDL_GetScancodeFromKey(SDL_Keycode key)
Line 16: Line 16:
||'''key'''||the desired [[SDLKey]] to query ???|| ||'''key'''||the desired [[SDL_Keycode]] to query ???||
Line 19: Line 19:
Returns the [[SDL_scancode]] that corresponds to the given [[SDLKey]]. ??? 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.

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