Browse Source

SDL_keyboard.h: Note that SDL_GetKeyName() returns uppercase letters.

Reference Issue #11434.
Ryan C. Gordon 7 months ago
parent
commit
6473de59b7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/SDL3/SDL_keyboard.h

+ 2 - 0
include/SDL3/SDL_keyboard.h

@@ -318,6 +318,8 @@ extern SDL_DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromName(const char *nam
  *
  * If the key doesn't have a name, this function returns an empty string ("").
  *
+ * Letters will be presented in their uppercase form, if applicable.
+ *
  * \param key the desired SDL_Keycode to query.
  * \returns a UTF-8 encoded string of the key name.
  *