Browse Source

checkkeys: clarify that SDL_HINT_WINDOWS_RAW_KEYBOARD isn't needed

Sam Lantinga 3 weeks ago
parent
commit
1e5cbbc1d0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      test/checkkeys.c

+ 3 - 0
test/checkkeys.c

@@ -447,6 +447,9 @@ int main(int argc, char *argv[])
 {
     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");
 
     /* Initialize test framework */