Fix swap-hands to cover outer columns
This commit is contained in:
@@ -20,6 +20,19 @@
|
||||
#undef OS_LALT
|
||||
#undef OS_LGUI
|
||||
|
||||
// clang-format off
|
||||
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
{{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}, {6, 4}},
|
||||
{{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}, {6, 5}},
|
||||
{{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}, {6, 6}},
|
||||
{{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}, {6, 7}},
|
||||
{{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}},
|
||||
{{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1}},
|
||||
{{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}, {6, 2}},
|
||||
{{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}},
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
enum keycodes {
|
||||
OS_LSFT = SAFE_RANGE,
|
||||
OS_LCTL,
|
||||
@@ -91,8 +104,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// clang-format on
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
setPinOutput(24);
|
||||
writePinHigh(24);
|
||||
gpio_set_pin_output(24);
|
||||
gpio_write_pin_high(24);
|
||||
}
|
||||
|
||||
typedef enum {
|
||||
|
||||
+1
-1
Submodule qmk_firmware updated: 52c794b9fc...85886db43b
Reference in New Issue
Block a user