summaryrefslogtreecommitdiff
path: root/keyboards/splitkb
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-03 11:13:22 +0000
committerQMK Bot <hello@qmk.fm>2022-06-03 11:13:22 +0000
commitbb324e5b3eee9570a8717bf91ff0b6eff7277bac (patch)
treedb3ef0608fd07a9e8eae02628dec1a0789429e4c /keyboards/splitkb
parent267f39223780d37fe9a328ea092c967121291e9d (diff)
parent706194b33650b3c6cbb6780d8e76cf2530aefe4b (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/splitkb')
-rw-r--r--keyboards/splitkb/kyria/rev1/rev1.c3
-rw-r--r--keyboards/splitkb/kyria/rev2/rev2.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/splitkb/kyria/rev1/rev1.c b/keyboards/splitkb/kyria/rev1/rev1.c
index 8398366e71..52a62ccef8 100644
--- a/keyboards/splitkb/kyria/rev1/rev1.c
+++ b/keyboards/splitkb/kyria/rev1/rev1.c
@@ -28,6 +28,9 @@ __attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATR
{{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}, {7, 3}}
};
// clang-format on
+# ifdef ENCODER_MAP_ENABLE
+const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {1, 0};
+# endif
#endif
#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/splitkb/kyria/rev2/rev2.c b/keyboards/splitkb/kyria/rev2/rev2.c
index 0a181cdf12..3ec4aa37f0 100644
--- a/keyboards/splitkb/kyria/rev2/rev2.c
+++ b/keyboards/splitkb/kyria/rev2/rev2.c
@@ -43,6 +43,9 @@ __attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATR
{{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}, {7, 3}}
};
// clang-format on
+# ifdef ENCODER_MAP_ENABLE
+const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {1, 0};
+# endif
#endif
#ifdef RGB_MATRIX_ENABLE