Commit b1ed855d53d11058eb248ac42a2244cad3b2b722

Sam Lantinga 2017-08-12T15:45:46

Added a note about number key keycodes always being SDLK_0...SDLK_9 even on AZERTY layouts See bug 3188 for more discussion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/SDL_keycode.h b/include/SDL_keycode.h
index 1dccaa8..c41e45f 100644
--- a/include/SDL_keycode.h
+++ b/include/SDL_keycode.h
@@ -38,6 +38,9 @@
  *  layout of the keyboard.  These values include Unicode values representing
  *  the unmodified character that would be generated by pressing the key, or
  *  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;