More removal of GLFW_KEY_ constants

This commit is contained in:
Kovid Goyal
2021-01-12 07:46:21 +05:30
parent 774a6c8c8b
commit 1690718710
11 changed files with 186 additions and 551 deletions

View File

@@ -78,7 +78,7 @@ def parse_shortcut(sc: str) -> SingleKey:
else:
key = get_key_name_lookup()(q, False)
is_native = key is not None
return SingleKey(mods, is_native, key or defines.GLFW_KEY_UNKNOWN)
return SingleKey(mods, is_native, key or 0)
T = TypeVar('T')