|
Size: 977
Comment: update formatting - greyed out fields; camelcase
|
Size: 969
Comment: Added info that unicode field always 0.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| A structure that contains ^key codes^ used in key events. | A structure that contains key information used in key events. |
| Line 13: | Line 12: |
| ||Uint16||'''mod'''||current key modifiers^; see [[SDL_Keymod]] for details^|| ||<rowstyle="color: #808080;">Uint32||'''unicode'''||use [[SDL_TextInputEvent]] instead (deprecated)|| |
||Uint16||'''mod'''||current key modifiers; see [[SDL_Keymod]] for details|| ||<rowstyle="color: #808080;">Uint32||'''unicode'''||use [[SDL_TextInputEvent]] instead (deprecated and always 0 on most platforms with SDL 2.0)|| |
| Line 26: | Line 25: |
| .[[SDL_Mod]] | .[[SDL_Keymod]] |
SDL_Keysym
A structure that contains key information used in key events.
Contents
Data Fields
scancode |
SDL physical key code; see SDL_Scancode for details |
|
sym |
SDL virtual key code; see SDL_Keycode for details |
|
Uint16 |
mod |
current key modifiers; see SDL_Keymod for details |
Uint32 |
unicode |
use SDL_TextInputEvent instead (deprecated and always 0 on most platforms with SDL 2.0) |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Enumerations
Related Structures
