diff options
| -rw-r--r-- | tmk_core/common/avr/suspend.c | 2 | ||||
| -rw-r--r-- | users/drashna/drashna.h | 27 |
2 files changed, 19 insertions, 10 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 4cdd6a420..81e426641 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #include "audio.h" | 19 | #include "audio.h" |
| 20 | #endif /* AUDIO_ENABLE */ | 20 | #endif /* AUDIO_ENABLE */ |
| 21 | 21 | ||
| 22 | #ifdef RGBLIGHT_ANIMATIONS | 22 | #ifdef RGBLIGHT_SLEEP |
| 23 | #include "rgblight.h" | 23 | #include "rgblight.h" |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
diff --git a/users/drashna/drashna.h b/users/drashna/drashna.h index 0df9abb46..e723c846f 100644 --- a/users/drashna/drashna.h +++ b/users/drashna/drashna.h | |||
| @@ -47,15 +47,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) | 47 | #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) |
| 48 | 48 | ||
| 49 | #ifndef RGBLIGHT_ANIMATIONS // add "EXTRA_FLADS=-DDRASHNA_SETRGB" to enable this ... but don't | 49 | #ifndef RGBLIGHT_ANIMATIONS // add "EXTRA_FLADS=-DDRASHNA_SETRGB" to enable this ... but don't |
| 50 | #define rgblight_set_blue rgblight_setrgb (0x00, 0x00, 0xFF); | 50 | #define rgblight_set_white rgblight_setrgb (0xFF, 0xFF, 0xFF); |
| 51 | #define rgblight_set_red rgblight_setrgb (0xFF, 0x00, 0x00); | 51 | #define rgblight_set_red rgblight_setrgb (0xFF, 0x00, 0x00); |
| 52 | #define rgblight_set_green rgblight_setrgb (0x00, 0xFF, 0x00); | 52 | #define rgblight_set_coral rgblight_setrgb (0xFF, 0x7C, 0x4D); |
| 53 | #define rgblight_set_orange rgblight_setrgb (0xFF, 0x80, 0x00); | 53 | #define rgblight_set_orange rgblight_setrgb (0xFF, 0x80, 0x00); |
| 54 | #define rgblight_set_teal rgblight_setrgb (0x00, 0xFF, 0xFF); | 54 | #define rgblight_set_goldenrod rgblight_setrgb (0xD9, 0xA5, 0x21); |
| 55 | #define rgblight_set_magenta rgblight_setrgb (0xFF, 0x00, 0xFF); | 55 | #define rgblight_set_gold rgblight_setrgb (0xFF, 0xD9, 0x00); |
| 56 | #define rgblight_set_yellow rgblight_setrgb (0xFF, 0xFF, 0x00); | 56 | #define rgblight_set_yellow rgblight_setrgb (0xFF, 0xFF, 0x00); |
| 57 | #define rgblight_set_purple rgblight_setrgb (0x7A, 0x00, 0xFF); | 57 | #define rgblight_set_chartreuse rgblight_setrgb (0x80, 0xFF, 0x00); |
| 58 | #define rgblight_set_white rgblight_setrgb (0xFF, 0xFF, 0xFF); | 58 | #define rgblight_set_green rgblight_setrgb (0x00, 0xFF, 0x00); |
| 59 | #define rgblight_set_springgreen rgblight_setrgb (0x00, 0xFF, 0x80); | ||
| 60 | #define rgblight_set_turquoise rgblight_setrgb (0x47, 0x6E, 0x6A); | ||
| 61 | #define rgblight_set_teal rgblight_setrgb (0x00, 0x80, 0x80); | ||
| 62 | #define rgblight_set_cyan rgblight_setrgb (0x00, 0xFF, 0xFF); | ||
| 63 | #define rgblight_set_azure rgblight_setrgb (0x99, 0xf5, 0xFF); | ||
| 64 | #define rgblight_set_blue rgblight_setrgb (0x00, 0x00, 0xFF); | ||
| 65 | #define rgblight_set_purple rgblight_setrgb (0x7A, 0x00, 0xFF); | ||
| 66 | #define rgblight_set_magenta rgblight_setrgb (0xFF, 0x00, 0xFF); | ||
| 67 | #define rgblight_set_pink rgblight_setrgb (0xFF, 0x80, 0xBF); | ||
| 59 | #else | 68 | #else |
| 60 | #define rgblight_set_white rgblight_sethsv (0, 0x00, 255); | 69 | #define rgblight_set_white rgblight_sethsv (0, 0x00, 255); |
| 61 | #define rgblight_set_red rgblight_sethsv (0, 255, 255); | 70 | #define rgblight_set_red rgblight_sethsv (0, 255, 255); |
