Add linux (fi) keys #1

Merged
teascade merged 1 commits from neon/programming-bongocat:master into master 2018-12-11 00:59:01 +01:00
Showing only changes of commit 5ee55078df - Show all commits

View File

@ -29,6 +29,39 @@ class InputManager:
"F6", "F7", "F8", "F9", "F10", "F11", "F12" "F6", "F7", "F8", "F9", "F10", "F11", "F12"
] ]
left_paw_keys_linux_fi = [
"1", "2", "3", "4", "5",
"exclam", "quotedbl", "numbersign", "currency", "percent",
"q", "w", "e", "r", "t", "y",
"a", "s", "d", "f", "g", "h",
"z", "x", "c", "v", "b"
"Escape", "section", "Tab", "Caps_Lock", "Shift_L",
"Control_L", "Super_L", "Alt_L", "space",
"F1", "F2", "F3", "F4", "F5"
]
right_paw_keys_linux_fi = [
"6", "7", "8", "9", "0", "plus", "[65105]", "BackSpace",
"ampersand", "slash", "parenleft", "parenright", "equal",
"u", "i", "o", "p", "aring", "[65111]", "Return",
"j", "k", "l", "odiaresis", "adiaresis", "apostrophe", "asterisk",
"n", "m", "comma", "period", "minus", "Shift_R", "semicolon", "colon", "underscore",
"[65027]", "Menu", "Control_R",
"Up", "Left", "Down", "Right",
"Insert", "Home", "Page_Up", "Delete", "End", "Next",
"Print", "Scroll_Lock", "Pause",
"P_Insert", "P_End", "P_Down", "P_Next", "P_Left", "P_Begin", "P_Right", "P_Home", "P_Up", "P_Page_Up",
"Num_Lock", "P_Divide", "P_Multiply", "P_Subtract", "P_Add", "P_Delete", "P_Enter",
"F6", "F7", "F8", "F9", "F10", "F11", "F12"
]
pyxhook_shifted_numbers = [
"exclam", "quotedbl", "numbersign", "currency", "percent",
"ampersand", "slash", "parenleft", "parenright", "equal",
]
def on_update(self, down): def on_update(self, down):
pass pass