mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Added scancode to key callback.
This commit is contained in:
@@ -477,7 +477,7 @@ static void update_mesh(void)
|
||||
* GLFW callback functions
|
||||
*********************************************************************/
|
||||
|
||||
static void key_callback(GLFWwindow* window, int key, int action, int mods)
|
||||
static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods)
|
||||
{
|
||||
switch(key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user