The function pointer type for keyboard key callbacks.
This is the function pointer type for keyboard key callbacks. A keyboard key callback function has the following signature:
void function_name(GLFWwindow* window, int key, int scancode, int action, int mods)
Added in version 1.0. @glfw3 Added window handle, scancode and modifier mask parameters.
Ingroup: input
See Implementation
The function pointer type for keyboard key callbacks.
This is the function pointer type for keyboard key callbacks. A keyboard key callback function has the following signature: