Răsfoiți Sursa

Clarified that SDL scancodes are unaffected by keyboard layout

Sam Lantinga 1 an în urmă
părinte
comite
1269590dfc
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      include/SDL3/SDL_scancode.h

+ 3 - 0
include/SDL3/SDL_scancode.h

@@ -33,6 +33,9 @@
 /**
  *  The SDL keyboard scancode representation.
  *
+ *  An SDL scancode is the physical representation of a key on the keyboard,
+ *  independent of language and keyboard mapping.
+ *
  *  Values of this type are used to represent keyboard keys, among other places
  *  in the \link SDL_Keysym::scancode key.keysym.scancode \endlink field of the
  *  SDL_Event structure.