diff options
author | QMK Bot <hello@qmk.fm> | 2022-11-15 08:52:19 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-11-15 08:52:19 +0000 |
commit | 4238d49efe7d1fc461864dd57bbdf22a157e7f59 (patch) | |
tree | 4d612e45b7ef7e99f261565856eecf365d10a17f /keyboards/bastardkb/dilemma/dilemma.h | |
parent | 1a3f2130d5feeeccada90ebb1d96cde5232459e0 (diff) | |
parent | 30b2dbe369b3a61d1d6681b0a689dbcdd41fc221 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/bastardkb/dilemma/dilemma.h')
-rw-r--r-- | keyboards/bastardkb/dilemma/dilemma.h | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/keyboards/bastardkb/dilemma/dilemma.h b/keyboards/bastardkb/dilemma/dilemma.h index fbf54c804b..68d86b03ce 100644 --- a/keyboards/bastardkb/dilemma/dilemma.h +++ b/keyboards/bastardkb/dilemma/dilemma.h @@ -17,27 +17,18 @@ #pragma once -#include "quantum.h" - // clang-format off -#define LAYOUT_split_3x5_2( \ - k00, k01, k02, k03, k04, k44, k43, k42, k41, k40, \ - k10, k11, k12, k13, k14, k54, k53, k52, k51, k50, \ - k20, k21, k22, k23, k24, k64, k63, k62, k61, k60, \ - k30, k32, k72, k70 \ -) \ -{ \ - { k00, k01, k02, k03, k04 }, \ - { k10, k11, k12, k13, k14 }, \ - { k20, k21, k22, k23, k24 }, \ - { k30, KC_NO, k32, KC_NO, KC_NO }, \ - { k40, k41, k42, k43, k44 }, \ - { k50, k51, k52, k53, k54 }, \ - { k60, k61, k62, k63, k64 }, \ - { k70, KC_NO, k72, KC_NO, KC_NO }, \ -} +#if defined(KEYBOARD_bastardkb_dilemma_3x5_2_splinky) || defined (KEYBOARD_bastardkb_dilemma_3x5_2_assembled) +# include "3x5_2.h" +#elif defined(KEYBOARD_bastardkb_dilemma_3x5_3) +# include "3x5_3.h" +#else +# error "Unsuported format" +#endif // clang-format on +#include "quantum.h" + #ifdef POINTING_DEVICE_ENABLE # ifndef NO_DILEMMA_KEYCODES enum dilemma_keycodes { |