diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2023-01-23 16:22:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 16:22:37 +0900 |
commit | 6f611938ae8a11f8bb2726a94150102d8e6c758d (patch) | |
tree | 966db29f1923854218b66965abfa3903d1e9b921 /keyboards/moonlander/moonlander.h | |
parent | 6a40c2b9bb104fb4899f7bf3b107bc13af34db8d (diff) |
feat: adds halfmoon (#367)
* feat: adds halfmoon
* fix: code review feedback
* fix: halfmoon music map
Diffstat (limited to 'keyboards/moonlander/moonlander.h')
-rw-r--r-- | keyboards/moonlander/moonlander.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/keyboards/moonlander/moonlander.h b/keyboards/moonlander/moonlander.h index b2e251900e..053ec8ccfb 100644 --- a/keyboards/moonlander/moonlander.h +++ b/keyboards/moonlander/moonlander.h @@ -35,6 +35,30 @@ extern bool mcp23018_leds[]; #define ML_LED_6(status) mcp23018_leds[2] = (bool)status // clang-format off +#define LAYOUT_halfmoon( \ + k00, k01, k02, k03, k04, k05, k06, \ + k07, k08, k09, k10, k11, k12, k13, \ + k14, k15, k16, k17, k18, k19, k20, \ + k21, k22, k23, k24, k25, k26, \ + k27, k28, k29, k30, k31, k32, \ + k33, k34, k35 \ +) \ +{ \ + { k00, k01, k02, k03, k04, k05, k06 }, \ + { k07, k08, k09, k10, k11, k12, k13 }, \ + { k14, k15, k16, k17, k18, k19, k20 }, \ + { k21, k22, k23, k24, k25, k26, KC_NO }, \ + { k27, k28, k29, k30, k31, KC_NO, KC_NO }, \ + { k33, k34, k35, k32, KC_NO, KC_NO, KC_NO }, \ +\ + { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ +} +// clang-format on #define LAYOUT_moonlander( \ k00, k01, k02, k03, k04, k05, k06, k60, k61, k62, k63, k64, k65, k66, \ k10, k11, k12, k13, k14, k15, k16, k70, k71, k72, k73, k74, k75, k76, \ @@ -78,4 +102,4 @@ typedef union { extern keyboard_config_t keyboard_config; -bool is_transport_connected(void);
\ No newline at end of file +bool is_transport_connected(void); |