mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Clarified charmods in events test.
This commit is contained in:
parent
96b12ee504
commit
46a56ea742
@ -392,7 +392,7 @@ static void char_callback(GLFWwindow* window, unsigned int codepoint)
|
|||||||
static void char_mods_callback(GLFWwindow* window, unsigned int codepoint, int mods)
|
static void char_mods_callback(GLFWwindow* window, unsigned int codepoint, int mods)
|
||||||
{
|
{
|
||||||
Slot* slot = glfwGetWindowUserPointer(window);
|
Slot* slot = glfwGetWindowUserPointer(window);
|
||||||
printf("%08x to %i at %0.3f: Character 0x%08x (%s) (with%s) input\n",
|
printf("%08x to %i at %0.3f: Character with modifiers 0x%08x (%s) (with%s) input\n",
|
||||||
counter++, slot->number, glfwGetTime(), codepoint,
|
counter++, slot->number, glfwGetTime(), codepoint,
|
||||||
get_character_string(codepoint),
|
get_character_string(codepoint),
|
||||||
get_mods_name(mods));
|
get_mods_name(mods));
|
||||||
|
Loading…
Reference in New Issue
Block a user