commit c66188157e5d726d1467b5352201baf348a3aad4
parent dd29f6c0425ba25f5f085dfb94eff9a7dbc28033
Author: Lukas F. Hartmann <lukas@mntre.com>
Date: Thu, 5 Oct 2023 12:16:04 +0200
kbd-fw: hyper+backspace=del; hyper+pgup/pgdn=home/end
Diffstat:
2 files changed, 45 insertions(+), 31 deletions(-)
diff --git a/reform2-keyboard-fw/matrix.h b/reform2-keyboard-fw/matrix.h
@@ -38,11 +38,37 @@ uint8_t matrix_fn[KBD_MATRIX_SZ] = {
HID_KEYBOARD_SC_MEDIA_VOLUME_UP,
KEY_CIRCLE,
- MATRIX_DEFAULT_ROW_2,
+ KEY_GRAVE_ACCENT_AND_TILDE,
+ KEY_1,
+ KEY_2,
+ KEY_3,
+ KEY_4,
+ KEY_5,
+ KEY_6,
+ KEY_7,
+ KEY_8,
+ KEY_9,
+ KEY_0,
+ KEY_MINUS_AND_UNDERSCORE,
+ KEY_EQUAL_AND_PLUS,
+ KEY_DELETE,
+
MATRIX_DEFAULT_ROW_3,
MATRIX_DEFAULT_ROW_4,
MATRIX_DEFAULT_ROW_5,
- MATRIX_DEFAULT_ROW_6
+
+ HID_KEYBOARD_SC_EXECUTE,
+ HID_KEYBOARD_SC_LEFT_GUI,
+ HID_KEYBOARD_SC_RIGHT_CONTROL,
+ KEY_SPACE,
+ HID_KEYBOARD_SC_LEFT_ALT,
+ HID_KEYBOARD_SC_RIGHT_ALT,
+ KEY_SPACE,
+ HID_KEYBOARD_SC_HOME,
+ HID_KEYBOARD_SC_END,
+ HID_KEYBOARD_SC_LEFT_ARROW,
+ HID_KEYBOARD_SC_DOWN_ARROW,
+ HID_KEYBOARD_SC_RIGHT_ARROW
};
// Second layer (toggled by HYPER+CIRCLE)
diff --git a/reform2-keyboard-fw/matrix_3.h b/reform2-keyboard-fw/matrix_3.h
@@ -70,7 +70,21 @@ uint8_t matrix_fn[KBD_MATRIX_SZ] = {
HID_KEYBOARD_SC_MEDIA_VOLUME_UP,
KEY_CIRCLE,
- MATRIX_DEFAULT_ROW_2,
+ KEY_GRAVE_ACCENT_AND_TILDE,
+ KEY_1,
+ KEY_2,
+ KEY_3,
+ KEY_4,
+ KEY_5,
+ KEY_6,
+ KEY_7,
+ KEY_8,
+ KEY_9,
+ KEY_0,
+ KEY_MINUS_AND_UNDERSCORE,
+ KEY_EQUAL_AND_PLUS,
+ KEY_DELETE,
+
MATRIX_DEFAULT_ROW_3,
MATRIX3_DEFAULT_ROW_4,
@@ -124,32 +138,6 @@ uint8_t matrix_fn_toggled[KBD_MATRIX_SZ] = {
MATRIX_DEFAULT_ROW_2,
MATRIX_DEFAULT_ROW_3,
MATRIX3_DEFAULT_ROW_4,
-
- HID_KEYBOARD_SC_LEFT_SHIFT,
- HID_KEYBOARD_SC_NON_US_BACKSLASH_AND_PIPE,
- KEY_Z,
- KEY_X,
- KEY_C,
- KEY_V,
- KEY_B,
- KEY_N,
- KEY_M,
- HID_KEYBOARD_SC_COMMA_AND_LESS_THAN_SIGN,
- HID_KEYBOARD_SC_DOT_AND_GREATER_THAN_SIGN,
- KEY_SLASH_AND_QUESTION_MARK,
- HID_KEYBOARD_SC_PAGE_UP,
- HID_KEYBOARD_SC_RIGHT_SHIFT,
-
- HID_KEYBOARD_SC_EXECUTE,
- HID_KEYBOARD_SC_LEFT_GUI,
- HID_KEYBOARD_SC_LEFT_ALT,
- KEY_SPACE,
- KEY_SPACE,
- KEY_SPACE,
- KEY_SPACE,
- HID_KEYBOARD_SC_RIGHT_ALT,
- HID_KEYBOARD_SC_RIGHT_CONTROL,
- HID_KEYBOARD_SC_HOME,
- HID_KEYBOARD_SC_PAGE_DOWN,
- HID_KEYBOARD_SC_END
+ MATRIX_DEFAULT_ROW_5,
+ MATRIX3_DEFAULT_ROW_6
};