Skip to content

Commit

Permalink
Added a note about number key keycodes always being SDLK_0...SDLK_9 e…
Browse files Browse the repository at this point in the history
…ven on AZERTY layouts

See bug 3188 for more discussion
  • Loading branch information
slouken committed Aug 12, 2017
1 parent 3b837a2 commit b1ed855
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/SDL_keycode.h
Expand Up @@ -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;

Expand Down

0 comments on commit b1ed855

Please sign in to comment.