|
Size: 826
Comment: minor change
|
Size: 841
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.
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.
