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

This commit is contained in:
MrScautHD 2024-07-16 14:00:00 +02:00 • committed by GitHub
commit 576bee5cce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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