mirror of
https://github.com/glfw/glfw
synced 2026-09-27 00:28:42 +03:00
Switch events test to use glfwGetKeyNameModifiers
This commit is contained in:
parent
7b6e62829d
commit
c87aaa8111
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
|
|||
}
|
||||
else
|
||||
{
|
||||
const char* name = glfwGetKeyName(key, scancode);
|
||||
const char* name = glfwGetKeyNameModifiers(key, scancode, mods);
|
||||
if (name)
|
||||
{
|
||||
printf("%08x to %i at %0.3f: Key 0x%04x (%s) Scancode 0x%04x Name %s (with%s) was %s\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue