Added support for keyboard repeat (only tested on Windows so far)
This commit is contained in:
parent
871f32561d
commit
0e59ffc802
8 changed files with 57 additions and 47 deletions
|
@ -132,7 +132,7 @@ typedef struct SDL_KeyboardEvent
|
|||
Uint32 type; /**< ::SDL_KEYDOWN or ::SDL_KEYUP */
|
||||
Uint32 windowID; /**< The window with keyboard focus, if any */
|
||||
Uint8 state; /**< ::SDL_PRESSED or ::SDL_RELEASED */
|
||||
Uint8 padding1;
|
||||
Uint8 repeat; /**< Non-zero if this is a key repeat */
|
||||
Uint8 padding2;
|
||||
Uint8 padding3;
|
||||
SDL_keysym keysym; /**< The key that was pressed or released */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue