Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding CK60 and CK65 #14737

Merged
merged 10 commits into from
Oct 16, 2021
Prev Previous commit
Moving RGB default setting to config.h
  • Loading branch information
had-i committed Oct 16, 2021
commit 7d701df8c58615a7a50509e6e0f52110edb17175
11 changes: 1 addition & 10 deletions keyboards/senselessclay/ck60/ck60.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "ck60.h"

void eeconfig_init_kb(void) { // EEPROM is getting reset!
rgblight_enable(); // Enable RGB by default
rgblight_sethsv(0, 255, 125); // Set default HSV - red hue, full saturation, medium brightness
rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 5); // set to RGB_RAINBOW_SWIRL by default

eeconfig_update_kb(0);
eeconfig_init_user();
}
#include "ck60.h"
3 changes: 2 additions & 1 deletion keyboards/senselessclay/ck60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 62
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_LIMIT_VAL 128
#define RGBLIGHT_SLEEP
#define RGBLIGHT_SLEEP
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL+5
11 changes: 1 addition & 10 deletions keyboards/senselessclay/ck65/ck65.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "ck65.h"

void eeconfig_init_kb(void) { // EEPROM is getting reset!
rgblight_enable(); // Enable RGB by default
rgblight_sethsv(0, 255, 125); // Set default HSV - red hue, full saturation, medium brightness
rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 5); // set to RGB_RAINBOW_SWIRL by default

eeconfig_update_kb(0);
eeconfig_init_user();
}
#include "ck65.h"
3 changes: 2 additions & 1 deletion keyboards/senselessclay/ck65/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 69
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_LIMIT_VAL 122
#define RGBLIGHT_SLEEP
#define RGBLIGHT_SLEEP
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL+5