Added a note about number key keycodes always being SDLK_0...SDLK_9 even on AZERTY layouts
authorSam Lantinga <slouken@libsdl.org>
Sat, 12 Aug 2017 15:45:46 -0700
changeset 11248fe8057094a5a
parent 11247 27eb9a10002c
child 11249 00c7bb05a67c
Added a note about number key keycodes always being SDLK_0...SDLK_9 even on AZERTY layouts
See bug 3188 for more discussion
include/SDL_keycode.h
     1.1 --- a/include/SDL_keycode.h	Sat Aug 12 15:41:03 2017 -0700
     1.2 +++ b/include/SDL_keycode.h	Sat Aug 12 15:45:46 2017 -0700
     1.3 @@ -38,6 +38,9 @@
     1.4   *  layout of the keyboard.  These values include Unicode values representing
     1.5   *  the unmodified character that would be generated by pressing the key, or
     1.6   *  an SDLK_* constant for those keys that do not generate characters.
     1.7 + *
     1.8 + *  A special exception is the number keys at the top of the keyboard which
     1.9 + *  always map to SDLK_0...SDLK_9, regardless of layout.
    1.10   */
    1.11  typedef Sint32 SDL_Keycode;
    1.12