Merge pull request #28 from Firenox89/master
add the enter key on the numpad to the key map
This commit is contained in:
commit
fa20949d4f
@ -24,6 +24,7 @@ del f
|
|||||||
|
|
||||||
key_map[defines.GLFW_KEY_ESCAPE] = b'\033'
|
key_map[defines.GLFW_KEY_ESCAPE] = b'\033'
|
||||||
key_map[defines.GLFW_KEY_ENTER] = b'\r'
|
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_BACKSPACE] = key_as_bytes('kbs')
|
||||||
key_map[defines.GLFW_KEY_TAB] = b'\t'
|
key_map[defines.GLFW_KEY_TAB] = b'\t'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user