mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 22:53:23 +00:00
Document that SDL_GetKeyName() always returns uppercase names for alphabetic keycodes
This commit is contained in:
parent
e8dbbf8380
commit
78dbf9be50
1 changed files with 2 additions and 0 deletions
|
|
@ -321,6 +321,8 @@ extern SDL_DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromName(const char *nam
|
|||
/**
|
||||
* Get a human-readable name for a key.
|
||||
*
|
||||
* Both lowercase and uppercase alphabetic keycodes have uppercase names, e.g. SDL_Keycode 'a' and 'A' both have the name "A".
|
||||
*
|
||||
* The returned string follows the SDL_GetStringRule.
|
||||
*
|
||||
* \param key the desired SDL_Keycode to query.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue