diff options
author | Danny <nooges@users.noreply.github.com> | 2021-03-23 11:11:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 11:11:07 -0400 |
commit | be257b6f9f22ac6019a57219aeab15e90f230bcb (patch) | |
tree | f1bf116999137160ca657147771364206799617a /keyboards/keebio/sinc/rev1 | |
parent | d4a8123267c967613d5e4f481d46043fe4c16965 (diff) |
Add Sinc Rev. 2 (#12138)
Diffstat (limited to 'keyboards/keebio/sinc/rev1')
-rw-r--r-- | keyboards/keebio/sinc/rev1/config.h | 5 | ||||
-rw-r--r-- | keyboards/keebio/sinc/rev1/rev1.c | 9 |
2 files changed, 3 insertions, 11 deletions
diff --git a/keyboards/keebio/sinc/rev1/config.h b/keyboards/keebio/sinc/rev1/config.h index 853eef6877..92a9eb5675 100644 --- a/keyboards/keebio/sinc/rev1/config.h +++ b/keyboards/keebio/sinc/rev1/config.h @@ -62,7 +62,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLED_NUM 16 // Number of LEDs #define RGBLED_SPLIT { 8, 8 } #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } +#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) -// Set right column, left macro, 1.75u shift, and 5x1u on by default -#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00D4 +// Set right column, left macro, 1.75u shift, split spaces, and 5x1u on by default +#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00DE #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/keebio/sinc/rev1/rev1.c b/keyboards/keebio/sinc/rev1/rev1.c index 0de46d65ec..562a245344 100644 --- a/keyboards/keebio/sinc/rev1/rev1.c +++ b/keyboards/keebio/sinc/rev1/rev1.c @@ -19,15 +19,6 @@ void eeconfig_init_kb(void) { backlight_enable(); backlight_level(3); #endif -#ifdef RGBLIGHT_ENABLE - rgblight_enable(); // Enable RGB by default - rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness - rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness -#ifdef RGBLIGHT_ANIMATIONS - rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default -#endif -#endif - eeconfig_update_kb(0); eeconfig_init_user(); } |