glfwGetKeyScancode¶
Returns the platform-specific scancode of the specified key.
This function returns the platform-specific scancode of the specified key.
If the key is GLFW_KEY_UNKNOWN or does not exist on the keyboard this
method will return -1.
- arguments
-
int$keyAnynamed key.
- returns
-
intThe platform-specific scancode for the key, or-1if anerroroccurred.