Enable RGB

This commit is contained in:
Richard Baptist 2019-07-01 11:52:41 +02:00
parent eb27b4b364
commit d6be34bee6
No known key found for this signature in database
GPG Key ID: 115D8B1815981F35
3 changed files with 17 additions and 15 deletions

View File

@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE
#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 12
#define RGBLED_NUM 27
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 16
#define RGBLIGHT_VAL_STEP 16

View File

@ -10,10 +10,10 @@
extern keymap_config_t keymap_config;
// #ifdef RGBLIGHT_ENABLE
#ifdef RGBLIGHT_ENABLE
// Following line allows macro to read current RGB settings
// extern rgblight_config_t rgblight_config;
// #endif
extern rgblight_config_t rgblight_config;
#endif
extern uint8_t is_master;

View File

@ -8,6 +8,7 @@ EXTRAFLAGS += -flto
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
CONSOLE_ENABLE = no # Console for debug(+400)
@ -17,7 +18,6 @@ MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SWAP_HANDS_ENABLE = no # Enable one-hand typing
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
@ -25,4 +25,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# BOOTLOADER = qmk-dfu
# RGB_MATRIX_ENABLE = WS2812
OLED_DRIVER_ENABLE = yes