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

@ -1075,6 +1075,12 @@ void SetMouseCursor(int cursor)
}
}
// Get physical key name.
const char *GetKeyName(int key)
{
return glfwGetKeyName(key, glfwGetKeyScancode(key));
}
// Register all input events
void PollInputEvents(void)
{