ref: 136de4805728e9baf48582aa9166d934f106b9f6
parent: a47b7adde380c7479ec053e1982800da12579114
author: Jacob Moody <moody@posixcafe.org>
date: Thu Dec 21 01:55:43 EST 2023
add alternate arrow keys: pl;' there is no way to configure these, there is some code here for alternative arrow keys but they require this binary config file and are quite limited. So just change it to something I would use.
--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -469,20 +469,20 @@
gKey |= KEY_ITEM;
break;
- case BACKEND_KEYBOARD_COMMA:
- gKey |= KEY_ALT_LEFT;
+ case BACKEND_KEYBOARD_L:
+ gKey |= KEY_LEFT;
break;
- case BACKEND_KEYBOARD_PERIOD:
- gKey |= KEY_ALT_DOWN;
+ case BACKEND_KEYBOARD_APOSTROPHE:
+ gKey |= KEY_RIGHT;
break;
- case BACKEND_KEYBOARD_FORWARD_SLASH:
- gKey |= KEY_ALT_RIGHT;
+ case BACKEND_KEYBOARD_P:
+ gKey |= KEY_UP;
break;
- case BACKEND_KEYBOARD_L:
- gKey |= KEY_L;
+ case BACKEND_KEYBOARD_SEMICOLON:
+ gKey |= KEY_DOWN;
break;
case BACKEND_KEYBOARD_EQUALS:
@@ -555,20 +555,20 @@
gKey &= ~KEY_ITEM;
break;
- case BACKEND_KEYBOARD_COMMA:
- gKey &= ~KEY_ALT_LEFT;
+ case BACKEND_KEYBOARD_L:
+ gKey &= ~KEY_LEFT;
break;
- case BACKEND_KEYBOARD_PERIOD:
- gKey &= ~KEY_ALT_DOWN;
+ case BACKEND_KEYBOARD_APOSTROPHE:
+ gKey &= ~KEY_RIGHT;
break;
- case BACKEND_KEYBOARD_FORWARD_SLASH:
- gKey &= ~KEY_ALT_RIGHT;
+ case BACKEND_KEYBOARD_P:
+ gKey &= ~KEY_UP;
break;
- case BACKEND_KEYBOARD_L:
- gKey &= ~KEY_L;
+ case BACKEND_KEYBOARD_SEMICOLON:
+ gKey &= ~KEY_DOWN;
break;
case BACKEND_KEYBOARD_EQUALS: