|
Size: 830
Comment: minor change
|
Size: 845
Comment: renamed SDLKey and SDL_scancode
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| SDLKey SDL_GetKeyFromScancode(SDL_scancode scancode) | SDL_Keycode SDL_GetKeyFromScancode(SDL_Scancode scancode) |
| Line 16: | Line 16: |
| ||'''scancode'''||the desired [[SDL_scancode]] to query ???|| | ||'''scancode'''||the desired [[SDL_Scancode]] to query ???|| |
| Line 19: | Line 19: |
| Returns the [[SDLKey]] that corresponds to the given [[SDL_scancode]]. ??? | Returns the [[SDL_Keycode]] that corresponds to the given [[SDL_Scancode]]. ??? |
| Line 27: | Line 27: |
| See [[SDLKey]] for details. | See [[SDL_Keycode]] for details. |
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.
