summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/iris
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-06-03 04:12:15 -0700
committerGitHub <noreply@github.com>2022-06-03 12:12:15 +0100
commit706194b33650b3c6cbb6780d8e76cf2530aefe4b (patch)
treeda7d365cc1c36d96df96c222b0d5d1937864134a /keyboards/keebio/iris
parent5bcfc273ce2699913454408a0f266112c665d425 (diff)
Add Encoder Map Swap Hands config for boards that support both features (#17294)
Diffstat (limited to 'keyboards/keebio/iris')
-rw-r--r--keyboards/keebio/iris/rev3/rev3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/keebio/iris/rev3/rev3.c b/keyboards/keebio/iris/rev3/rev3.c
index 2b3d6b1d96..f644777b56 100644
--- a/keyboards/keebio/iris/rev3/rev3.c
+++ b/keyboards/keebio/iris/rev3/rev3.c
@@ -17,6 +17,9 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
{{0,3}, {1,3}, {2,3}, {3,3}, {4,3}, {5,3}},
{{0,4}, {1,4}, {2,4}, {3,4}, {4,4}, {5,4}},
};
+# ifdef ENCODER_MAP_ENABLE
+const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {1, 0};
+# endif
#endif
void eeconfig_init_kb(void) {