Explorar el Código

checkkeys: clarify that SDL_HINT_WINDOWS_RAW_KEYBOARD isn't needed

Sam Lantinga hace 3 meses
padre
commit
1e5cbbc1d0
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      test/checkkeys.c

+ 3 - 0
test/checkkeys.c

@@ -447,6 +447,9 @@ int main(int argc, char *argv[])
 {
 {
     int i;
     int i;
 
 
+    /* This is not necessary for text input handling, we just
+     * want to verify that input works with raw keyboard enabled.
+     */
     SDL_SetHint(SDL_HINT_WINDOWS_RAW_KEYBOARD, "1");
     SDL_SetHint(SDL_HINT_WINDOWS_RAW_KEYBOARD, "1");
 
 
     /* Initialize test framework */
     /* Initialize test framework */