summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hotkeys.cpp26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp
index 11be10b30..d5cd90b3c 100644
--- a/src/hotkeys.cpp
+++ b/src/hotkeys.cpp
@@ -38,10 +38,15 @@ static const KeycodeNames _keycode_to_name[] = {
{"META", WKC_META},
{"GLOBAL", WKC_GLOBAL_HOTKEY},
{"ESC", WKC_ESC},
- {"DEL", WKC_DELETE},
{"BACKSPACE", WKC_BACKSPACE},
+ {"INS", WKC_INSERT},
+ {"DEL", WKC_DELETE},
+ {"PAGEUP", WKC_PAGEUP},
+ {"PAGEDOWN", WKC_PAGEDOWN},
+ {"END", WKC_END},
+ {"HOME", WKC_HOME},
{"RETURN", WKC_RETURN},
- {"BACKQUOTE", WKC_BACKQUOTE},
+ {"SPACE", WKC_SPACE},
{"F1", WKC_F1},
{"F2", WKC_F2},
{"F3", WKC_F3},
@@ -54,11 +59,24 @@ static const KeycodeNames _keycode_to_name[] = {
{"F10", WKC_F10},
{"F11", WKC_F11},
{"F12", WKC_F12},
+ {"BACKQUOTE", WKC_BACKQUOTE},
{"PAUSE", WKC_PAUSE},
- {"COMMA", WKC_COMMA},
- {"NUM_PLUS", WKC_NUM_PLUS},
+ {"NUM_DIV", WKC_NUM_DIV},
+ {"NUM_MUL", WKC_NUM_MUL},
{"NUM_MINUS", WKC_NUM_MINUS},
+ {"NUM_PLUS", WKC_NUM_PLUS},
+ {"NUM_ENTER", WKC_NUM_ENTER},
+ {"NUM_DOT", WKC_NUM_DECIMAL},
+ {"/", WKC_SLASH},
+ {";", WKC_SEMICOLON},
{"=", WKC_EQUALS},
+ {"[", WKC_L_BRACKET},
+ {"\\", WKC_BACKSLASH},
+ {"]", WKC_R_BRACKET},
+ {"'", WKC_SINGLEQUOTE},
+ {",", WKC_COMMA},
+ {"COMMA", WKC_COMMA}, // legacy variant, should be below ","
+ {".", WKC_PERIOD},
{"-", WKC_MINUS},
};