mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Removed Unicode character actions, updated events test.
This commit is contained in:
+6
-4
@@ -250,11 +250,13 @@ static void key_callback(GLFWwindow window, int key, int action)
|
||||
}
|
||||
}
|
||||
|
||||
static void char_callback(GLFWwindow window, int character, int action)
|
||||
static void char_callback(GLFWwindow window, int character)
|
||||
{
|
||||
printf("%08x at %0.3f: Character 0x%04x", counter++, glfwGetTime(), character);
|
||||
|
||||
printf(" (%s) %s\n", get_character_string(character), get_action_name(action));
|
||||
printf("%08x at %0.3f: Character 0x%04x (%s)\n",
|
||||
counter++,
|
||||
glfwGetTime(),
|
||||
character,
|
||||
get_character_string(character));
|
||||
}
|
||||
|
||||
int main(void)
|
||||
|
||||
Reference in New Issue
Block a user