diff options
| author | Nick Brassel <nick@tzarc.org> | 2021-07-27 10:11:52 +1000 |
|---|---|---|
| committer | Nick Brassel <nick@tzarc.org> | 2021-07-27 10:11:52 +1000 |
| commit | 394272a2663692081ce6f5b74f6f761090111ad0 (patch) | |
| tree | 7971135837ced00c1628d26c3cf3d3156a1403ca /keyboards/moonlander | |
| parent | e0375c0b710c075780e7ffe1afe4c39fccd96929 (diff) | |
| parent | b1c5a53a68ca8a304e7739467f2793c223853f68 (diff) | |
| download | qmk_firmware-394272a2663692081ce6f5b74f6f761090111ad0.tar.gz qmk_firmware-394272a2663692081ce6f5b74f6f761090111ad0.zip | |
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'keyboards/moonlander')
| -rw-r--r-- | keyboards/moonlander/config.h | 2 | ||||
| -rw-r--r-- | keyboards/moonlander/keymaps/default/config.h | 2 | ||||
| -rw-r--r-- | keyboards/moonlander/keymaps/default/keymap.c | 2 | ||||
| -rw-r--r-- | keyboards/moonlander/matrix.c | 2 | ||||
| -rw-r--r-- | keyboards/moonlander/moonlander.c | 11 | ||||
| -rw-r--r-- | keyboards/moonlander/moonlander.h | 2 | ||||
| -rw-r--r-- | keyboards/moonlander/readme.md | 18 |
7 files changed, 23 insertions, 16 deletions
diff --git a/keyboards/moonlander/config.h b/keyboards/moonlander/config.h index c1a139dc7..522cb0ab2 100644 --- a/keyboards/moonlander/config.h +++ b/keyboards/moonlander/config.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> | 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> |
| 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> | 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> |
| 3 | * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) | 3 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 4 | * | 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/moonlander/keymaps/default/config.h b/keyboards/moonlander/keymaps/default/config.h index 576aae9f5..83ea2a1b5 100644 --- a/keyboards/moonlander/keymaps/default/config.h +++ b/keyboards/moonlander/keymaps/default/config.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> | 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> |
| 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> | 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> |
| 3 | * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) | 3 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 4 | * | 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/moonlander/keymaps/default/keymap.c b/keyboards/moonlander/keymaps/default/keymap.c index 6d98a8607..0cb7fa5d2 100644 --- a/keyboards/moonlander/keymaps/default/keymap.c +++ b/keyboards/moonlander/keymaps/default/keymap.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> | 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> |
| 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> | 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> |
| 3 | * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) | 3 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 4 | * | 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/moonlander/matrix.c b/keyboards/moonlander/matrix.c index 566f8bb1b..dbd44d161 100644 --- a/keyboards/moonlander/matrix.c +++ b/keyboards/moonlander/matrix.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> | 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> |
| 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> | 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> |
| 3 | * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) | 3 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 4 | * | 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c index bc4047b84..d66b74d97 100644 --- a/keyboards/moonlander/moonlander.c +++ b/keyboards/moonlander/moonlander.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> | 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> |
| 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> | 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> |
| 3 | * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) | 3 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 4 | * | 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
| @@ -340,15 +340,6 @@ led_config_t g_led_config = { { | |||
| 340 | } }; | 340 | } }; |
| 341 | // clang-format on | 341 | // clang-format on |
| 342 | 342 | ||
| 343 | void suspend_power_down_kb(void) { | ||
| 344 | rgb_matrix_set_suspend_state(true); | ||
| 345 | suspend_power_down_user(); | ||
| 346 | } | ||
| 347 | |||
| 348 | void suspend_wakeup_init_kb(void) { | ||
| 349 | rgb_matrix_set_suspend_state(false); | ||
| 350 | suspend_wakeup_init_user(); | ||
| 351 | } | ||
| 352 | #endif | 343 | #endif |
| 353 | 344 | ||
| 354 | #ifdef AUDIO_ENABLE | 345 | #ifdef AUDIO_ENABLE |
diff --git a/keyboards/moonlander/moonlander.h b/keyboards/moonlander/moonlander.h index 08bec5c07..859826021 100644 --- a/keyboards/moonlander/moonlander.h +++ b/keyboards/moonlander/moonlander.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> | 1 | /* Copyright 2020 ZSA Technology Labs, Inc <@zsa> |
| 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> | 2 | * Copyright 2020 Jack Humbert <jack.humb@gmail.com> |
| 3 | * Copyright 2020 Christopher Courtney <drashna@live.com> (@drashna) | 3 | * Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 4 | * | 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify | 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/moonlander/readme.md b/keyboards/moonlander/readme.md index 7ddfdb84a..0ad2e4775 100644 --- a/keyboards/moonlander/readme.md +++ b/keyboards/moonlander/readme.md | |||
| @@ -19,7 +19,23 @@ Flashing example for this keyboard: | |||
| 19 | 19 | ||
| 20 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | 20 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
| 21 | 21 | ||
| 22 | ## Oryx Configuation | 22 | |
| 23 | ## Moonlander Customization | ||
| 24 | |||
| 25 | ### Indicator LEDs | ||
| 26 | |||
| 27 | There are 6 functions for enabling and disabling the LEDs on the top of the boards. The functions are `ML_LED_1(bool)` through `ML_LED_6(bool)`, with the first LED being the left most LED on the left hand, and the sixth LED being the right most LED on the right side. | ||
| 28 | |||
| 29 | By default, the Indicator LEDs are used to indicate the layer state for the keyboard. If you wish to change this (and indicate caps/num/scroll lock status instead), then define `MOONLANDER_USER_LEDS` in your `config.h` file. | ||
| 30 | |||
| 31 | |||
| 32 | ### Oryx Configuration | ||
| 33 | |||
| 34 | To enable the features from Oryx (ZSA's Configurator), either compile the the `default` keymap, or add `#define ORYX_CONFIGURATOR` to your `config.h` file. | ||
| 35 | |||
| 36 | This enables the front Indicator LEDs, and the `TOGGLE_LAYER_COLOR` keycode. The `TOGGLE_LAYER_COLOR` keycode toggles the customized LED map configured on Oryx. | ||
| 37 | |||
| 38 | ### RGB Matrix Features | ||
| 23 | 39 | ||
| 24 | If you're using the Smart LED (layer indication) feature from the Oryx Configurator, you want to make sure that you enable these options by adding `#define ORYX_CONFIGURATOR` to your keymap's `config.h`. | 40 | If you're using the Smart LED (layer indication) feature from the Oryx Configurator, you want to make sure that you enable these options by adding `#define ORYX_CONFIGURATOR` to your keymap's `config.h`. |
| 25 | 41 | ||
