From 706194b33650b3c6cbb6780d8e76cf2530aefe4b Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Fri, 3 Jun 2022 04:12:15 -0700 Subject: Add Encoder Map Swap Hands config for boards that support both features (#17294) --- keyboards/planck/planck.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'keyboards/planck') diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c index e9bd90bdfe..6202da5250 100644 --- a/keyboards/planck/planck.c +++ b/keyboards/planck/planck.c @@ -8,6 +8,9 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { {{11, 2}, {10, 2}, {9, 2}, {8, 2}, {7, 2}, {6, 2}, {5, 2}, {4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}}, {{11, 3}, {10, 3}, {9, 3}, {8, 3}, {7, 3}, {6, 3}, {5, 3}, {4, 3}, {3, 3}, {2, 3}, {1, 3}, {0, 3}}, }; +# ifdef ENCODER_MAP_ENABLE +const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {0}; +# endif #endif __attribute__ ((weak)) -- cgit v1.2.3