Adding GetKeyName(int key) (WIP) (#4161)
This commit is contained in:
parent
5ede47618b
commit
576bee5cce
1 changed files with 47 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue