Added a note about number key keycodes always being SDLK_0...SDLK_9 even on AZERTY layouts

See bug 3188 for more discussion
This commit is contained in:
Sam Lantinga 2017-08-12 15:45:46 -07:00
parent 3b837a2659
commit b1ed855d53
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@
* layout of the keyboard. These values include Unicode values representing * layout of the keyboard. These values include Unicode values representing
* the unmodified character that would be generated by pressing the key, or * the unmodified character that would be generated by pressing the key, or
* an SDLK_* constant for those keys that do not generate characters. * an SDLK_* constant for those keys that do not generate characters.
*
* A special exception is the number keys at the top of the keyboard which
* always map to SDLK_0...SDLK_9, regardless of layout.
*/ */
typedef Sint32 SDL_Keycode; typedef Sint32 SDL_Keycode;