Function glfwGetKeyScancode

  • 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.

    Parameters

    Returns number

    The platform-specific scancode for the key, or -1 if an error occurred.

Generated using TypeDoc