mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 05:29:12 +00:00
Renamed SDLK_a-z to SDLK_A-Z
Made the symbols uppercase for consistency with the other SDLK_* constants, but the values are still lowercase.
This commit is contained in:
parent
d9dc4b320a
commit
e8dbbf8380
16 changed files with 275 additions and 93 deletions
|
@ -362,7 +362,7 @@ now looks like this:
|
|||
SDL_Keymod mod = event.key.mod;
|
||||
```
|
||||
|
||||
The keycode in key events is affected by modifiers by default. e.g. pressing the A key would generate the keycode `SDLK_a`, or 'a', and pressing it while holding the shift key would generate the keycode `SDLK_A`, or 'A'. This behavior can be customized with `SDL_HINT_KEYCODE_OPTIONS`.
|
||||
The keycode in key events is affected by modifiers by default. e.g. pressing the A key would generate the keycode `SDLK_A`, or 'a', and pressing it while holding the shift key would generate the keycode `SDLK_A`, or 'A'. This behavior can be customized with `SDL_HINT_KEYCODE_OPTIONS`.
|
||||
|
||||
The gamepad event structures caxis, cbutton, cdevice, ctouchpad, and csensor have been renamed gaxis, gbutton, gdevice, gtouchpad, and gsensor.
|
||||
|
||||
|
@ -975,6 +975,32 @@ The following symbols have been renamed:
|
|||
* SDLK_MEDIASELECT => SDLK_MEDIA_SELECT
|
||||
* SDLK_QUOTE => SDLK_APOSTROPHE
|
||||
* SDLK_QUOTEDBL => SDLK_DBLAPOSTROPHE
|
||||
* SDLK_a => SDLK_A
|
||||
* SDLK_b => SDLK_B
|
||||
* SDLK_c => SDLK_C
|
||||
* SDLK_d => SDLK_D
|
||||
* SDLK_e => SDLK_E
|
||||
* SDLK_f => SDLK_F
|
||||
* SDLK_g => SDLK_G
|
||||
* SDLK_h => SDLK_H
|
||||
* SDLK_i => SDLK_I
|
||||
* SDLK_j => SDLK_J
|
||||
* SDLK_k => SDLK_K
|
||||
* SDLK_l => SDLK_L
|
||||
* SDLK_m => SDLK_M
|
||||
* SDLK_n => SDLK_N
|
||||
* SDLK_o => SDLK_O
|
||||
* SDLK_p => SDLK_P
|
||||
* SDLK_q => SDLK_Q
|
||||
* SDLK_r => SDLK_R
|
||||
* SDLK_s => SDLK_S
|
||||
* SDLK_t => SDLK_T
|
||||
* SDLK_u => SDLK_U
|
||||
* SDLK_v => SDLK_V
|
||||
* SDLK_w => SDLK_W
|
||||
* SDLK_x => SDLK_X
|
||||
* SDLK_y => SDLK_Y
|
||||
* SDLK_z => SDLK_Z
|
||||
|
||||
## SDL_loadso.h
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue