Files
glfw/src
Camilla Löwy bfa24c9f2d Fix glfwGetKeyName incorrectly emitting error
glfwGetKeyName emitted GLFW_INVALID_VALUE when passed GLFW_KEY_UNKNOWN
and any scancode not associated with a key token on that platform.

This causes physical keys with no associated key token to emit
GLFW_INVALID_VALUE when the key and scancode are passed directly from
the key event to glfwGetKeyName.  This breaks the promise made in the
reference documentation for glfwGetKeyName.

This commit removes that error for the whole range of valid scancodes.

Fixes #1785
Fixes #2214

This was adapted to 3.3-stable from
86bf5698ec.
2024-02-05 16:25:27 +01:00
..
2023-11-16 22:50:41 +01:00
2023-12-07 18:04:08 +01:00
2023-11-28 22:17:40 +01:00
2019-11-05 17:59:15 +01:00
2019-11-05 17:59:15 +01:00
2022-10-31 21:29:42 +01:00
2024-01-14 23:57:44 +01:00
2020-06-30 17:09:55 +02:00