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