diff options
author | Drashna Jaelre <drashna@live.com> | 2022-06-03 04:12:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 12:12:15 +0100 |
commit | 706194b33650b3c6cbb6780d8e76cf2530aefe4b (patch) | |
tree | da7d365cc1c36d96df96c222b0d5d1937864134a /keyboards/preonic | |
parent | 5bcfc273ce2699913454408a0f266112c665d425 (diff) | |
download | qmk_firmware-706194b33650b3c6cbb6780d8e76cf2530aefe4b.tar.gz qmk_firmware-706194b33650b3c6cbb6780d8e76cf2530aefe4b.zip |
Add Encoder Map Swap Hands config for boards that support both features (#17294)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r-- | keyboards/preonic/rev3/rev3.c | 3 | ||||
-rw-r--r-- | keyboards/preonic/rev3_drop/rev3_drop.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/preonic/rev3/rev3.c b/keyboards/preonic/rev3/rev3.c index 7ccff70611..4739a1d2d8 100644 --- a/keyboards/preonic/rev3/rev3.c +++ b/keyboards/preonic/rev3/rev3.c @@ -58,4 +58,7 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { {{5, 8}, {4, 8}, {3, 8}, {2, 8}, {1, 8}, {0, 8}}, {{5, 9}, {4, 9}, {3, 9}, {2, 9}, {1, 9}, {0, 9}}, }; +# ifdef ENCODER_MAP_ENABLE +const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {0}; +# endif #endif diff --git a/keyboards/preonic/rev3_drop/rev3_drop.c b/keyboards/preonic/rev3_drop/rev3_drop.c index 0b3f452c44..279f367876 100644 --- a/keyboards/preonic/rev3_drop/rev3_drop.c +++ b/keyboards/preonic/rev3_drop/rev3_drop.c @@ -58,4 +58,7 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { {{5, 8}, {4, 8}, {3, 8}, {2, 8}, {1, 8}, {0, 8}}, {{5, 9}, {4, 9}, {3, 9}, {2, 9}, {1, 9}, {0, 9}}, }; +# ifdef ENCODER_MAP_ENABLE +const uint8_t PROGMEM encoder_hand_swap_config[NUM_ENCODERS] = {0}; +# endif #endif |