diff options
author | Danny Nguyen <danny@80pct.com> | 2017-03-23 14:46:58 -0400 |
---|---|---|
committer | Danny Nguyen <danny@80pct.com> | 2017-03-23 14:46:58 -0400 |
commit | 8775a13658146b7ffc90ac20579c1996bd51e909 (patch) | |
tree | 9cb3f5e30c9ecd896207a90a8c38d96d16e16525 /keyboards | |
parent | 0520341ce48e45ddb53a8b26f8710417af6279e6 (diff) |
Add RGB support
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/atreus50/config.h | 2 | ||||
-rw-r--r-- | keyboards/atreus50/keymaps/default/Makefile | 4 | ||||
-rw-r--r-- | keyboards/atreus50/keymaps/default/keymap.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/atreus50/config.h b/keyboards/atreus50/config.h index dedcc8caec..2e34e0f898 100644 --- a/keyboards/atreus50/config.h +++ b/keyboards/atreus50/config.h @@ -61,7 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* ws2812 RGB LED */ #define RGB_DI_PIN C6 -#define RGBLIGHT_TIMER +#define RGBLIGHT_ANIMATIONS #define RGBLED_NUM 12 // Number of LEDs #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 diff --git a/keyboards/atreus50/keymaps/default/Makefile b/keyboards/atreus50/keymaps/default/Makefile index e8556d0d6a..d7b0fa7fd8 100644 --- a/keyboards/atreus50/keymaps/default/Makefile +++ b/keyboards/atreus50/keymaps/default/Makefile @@ -1,5 +1,5 @@ -RGBLIGHT_ENABLE = no -AUDIO_ENABLE = yes +RGBLIGHT_ENABLE = yes +AUDIO_ENABLE = no ifndef QUANTUM_DIR include ../../../../Makefile diff --git a/keyboards/atreus50/keymaps/default/keymap.c b/keyboards/atreus50/keymaps/default/keymap.c index 8ae096cd83..415405ec23 100644 --- a/keyboards/atreus50/keymaps/default/keymap.c +++ b/keyboards/atreus50/keymaps/default/keymap.c @@ -122,7 +122,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `-------------------------------------------------------------------------------------------------' */ [_ADJUST] = KEYMAP( \ - _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ + _______, RESET, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, KC_DEL, \ _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______, \ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \ |