Merge pull request #28 from Firenox89/master

add the enter key on the numpad to the key map
This commit is contained in:
Kovid Goyal 2017-01-11 03:34:10 +05:30 committed by GitHub
commit fa20949d4f

View File

@ -24,6 +24,7 @@ del f
key_map[defines.GLFW_KEY_ESCAPE] = b'\033'
key_map[defines.GLFW_KEY_ENTER] = b'\r'
key_map[defines.GLFW_KEY_KP_ENTER] = b'\r'
key_map[defines.GLFW_KEY_BACKSPACE] = key_as_bytes('kbs')
key_map[defines.GLFW_KEY_TAB] = b'\t'