Added new keys

This commit is contained in:
Ninnjah 2020-12-14 00:08:39 +03:00 committed by GitHub
parent a11d0f89f0
commit bdeab86f70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
forbidden = [ forbidden = [
'Key.esc', 'Key.cmd', 'Key.cmd_r', 'Key.menu', 'Key.esc', 'Key.cmd', 'Key.cmd_r', 'Key.menu',
'Key.pause', 'Key.scroll_lock', 'Key.print_screen', 'Key.pause', 'Key.scroll_lock', 'Key.print_screen',
@ -5,10 +6,11 @@ forbidden = [
'Key.ctrl_r', 'Key.alt_l', 'Key.alt_gr', 'Key.caps_lock', 'Key.ctrl_r', 'Key.alt_l', 'Key.alt_gr', 'Key.caps_lock',
'Key.num_lock', 'Key.tab', 'Key.shift', 'Key.shift_r', 'Key.num_lock', 'Key.tab', 'Key.shift', 'Key.shift_r',
'Key.insert', 'Key.delete', 'Key.home', 'Key.end', 'Key.insert', 'Key.delete', 'Key.home', 'Key.end',
'Key.page_up', 'Key.page_down', 'Key.page_up', 'Key.page_down', '/'
] ]
dict_ = { dict_ = {
' ':' ',
'Key.f1' : 'F1', 'Key.f1' : 'F1',
'Key.f2' : 'F2', 'Key.f2' : 'F2',
'Key.f3' : 'F3', 'Key.f3' : 'F3',
@ -32,5 +34,9 @@ dict_ = {
'<104>' : 'Num 8', '<104>' : 'Num 8',
'<105>' : 'Num 9', '<105>' : 'Num 9',
'<110>' : 'Num .', '<110>' : 'Num .',
'Key.up' : 'Up',
'Key.down' : 'Down',
'Key.left' : 'Left',
'Key.right' : 'Right',
'\\\\' : '\\' '\\\\' : '\\'
} }