Adding GetKeyName(int key) (WIP) (#4161)

This commit is contained in:
MrScautHD
2024-07-16 14:00:00 +02:00
committed by GitHub
parent 5ede47618b
commit 576bee5cce
7 changed files with 47 additions and 0 deletions

View File

@ -756,6 +756,13 @@ void SetMouseCursor(int cursor)
RGFW_window_setMouseStandard(platform.window, cursor);
}
// Get physical key name.
const char *GetKeyName(int key)
{
TRACELOG(LOG_WARNING, "GetKeyName() not implemented on target platform");
return "";
}
static KeyboardKey ConvertScancodeToKey(u32 keycode);
// TODO: Review function to avoid duplicate with RSGL