mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 12:54:54 +00:00
Added scancode to key callback.
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ static void animate(void)
|
||||
|
||||
|
||||
/* change view angle, exit upon ESC */
|
||||
void key( GLFWwindow* window, int k, int action, int mods )
|
||||
void key( GLFWwindow* window, int k, int s, int action, int mods )
|
||||
{
|
||||
if( action != GLFW_PRESS ) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user