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
$key
Anynamed key
.
- returns
-
int
The platform-specific scancode for the key, or-1
if anerror
occurred.