commit dd29f6c0425ba25f5f085dfb94eff9a7dbc28033
parent 6ee0601d324b7933dc1fb73749efca13a3b17e02
Author: Lukas F. Hartmann <lukas@mntre.com>
Date: Tue, 3 Oct 2023 20:05:05 +0200
keyboard v3: add home/end/pgup/pgdn on hyper layer
Diffstat:
1 file changed, 56 insertions(+), 4 deletions(-)
diff --git a/reform2-keyboard-fw/matrix_3.h b/reform2-keyboard-fw/matrix_3.h
@@ -73,8 +73,34 @@ uint8_t matrix_fn[KBD_MATRIX_SZ] = {
MATRIX_DEFAULT_ROW_2,
MATRIX_DEFAULT_ROW_3,
MATRIX3_DEFAULT_ROW_4,
- MATRIX_DEFAULT_ROW_5,
- MATRIX3_DEFAULT_ROW_6
+
+ 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
};
// Second layer (toggled by HYPER+CIRCLE)
@@ -98,6 +124,32 @@ uint8_t matrix_fn_toggled[KBD_MATRIX_SZ] = {
MATRIX_DEFAULT_ROW_2,
MATRIX_DEFAULT_ROW_3,
MATRIX3_DEFAULT_ROW_4,
- MATRIX_DEFAULT_ROW_5,
- MATRIX3_DEFAULT_ROW_6
+
+ 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
};