瀏覽代碼

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

Reference Issue #11434.
Ryan C. Gordon 3 月之前
父節點
當前提交
6473de59b7
共有 1 個文件被更改,包括 2 次插入0 次删除
  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.
  *