|
Size: 845
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.
Contents
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.
