logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

rev1.c (419B)


  1. #include "quantum.h"
  2. void eeconfig_init_kb(void) {
  3. #ifdef RGBLIGHT_ENABLE
  4. rgblight_enable(); // Enable RGB by default
  5. rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness
  6. #ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL
  7. rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
  8. #endif
  9. #endif
  10. eeconfig_update_kb(0);
  11. eeconfig_init_user();
  12. }