add direct input and catch errors

This commit is contained in:
2020-10-22 00:36:54 +01:00
parent bbb21c0802
commit 3c5d5fa2c0
10 changed files with 97 additions and 13 deletions

View File

@ -43,8 +43,8 @@ keycodelst["TAB"] = 0x2b
keycodelst[" "] = 0x2c
keycodelst["RIGHT_PARENTHESIS"] = 0x2d
keycodelst["="] = 0x2e
keycodelst["CARET"] = 0x2f
keycodelst["DOLLAR_SIGN"] = 0x30
keycodelst["^"] = 0x2f
#keycodelst["DOLLAR_SIGN"] = 0x30
keycodelst["\\"] = 0x31 # Actually a mu
keycodelst["#"] = 0x32
keycodelst["U_ACCENT"] = 0x34
@ -92,8 +92,9 @@ keycodelst["REFRESH"] = 0xfa
# Keycodes that have no mapping in AZERTY
keycodelst["/"] = 0x38
keycodelst["["] = 0x0
keycodelst["["] = 0x2f
keycodelst["-"] = 0x2d
keycodelst["]"] = 0x0
keycodelst["]"] = 0x30
keycodelst["."] = 0x37
keycodelst["\'"] = 0x31 # This exists, but we use keycodelst["4 instead.
keycodelst["`"] = 0x35