The platform-specific scancode for the key, or -1 if an error occurred.
Errors: Possible errors include @ref GLFW_NOT_INITIALIZED, @ref GLFW_INVALID_ENUM and @ref GLFW_PLATFORM_ERROR.
This function may be called from any thread.
@sa @ref input_key
Added in version 3.3.
Ingroup: input
Page generated by adrdox
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.