mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Added a conservative set of key modifiers.
This commit is contained in:
@@ -53,7 +53,7 @@ static void window_close_callback(GLFWwindow* window)
|
||||
printf("Close callback triggered\n");
|
||||
}
|
||||
|
||||
static void key_callback(GLFWwindow* window, int key, int action)
|
||||
static void key_callback(GLFWwindow* window, int key, int action, int mods)
|
||||
{
|
||||
if (action != GLFW_PRESS)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user