2023-04-12 03:42:51 +00:00
|
|
|
#include "quantum.h"
|
2016-07-21 04:12:00 +00:00
|
|
|
|
|
|
|
void matrix_init_kb(void) {
|
2021-07-05 10:45:31 +00:00
|
|
|
// put your keyboard start-up code here
|
|
|
|
// runs once when the firmware starts up
|
2016-07-21 04:12:00 +00:00
|
|
|
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
2021-07-05 10:45:31 +00:00
|
|
|
rgblight_init();
|
|
|
|
rgblight_mode(1); // solid, no timer
|
|
|
|
rgblight_setrgb(0,20,0);// dim green, happens to be same as _QW
|
2016-07-21 04:12:00 +00:00
|
|
|
#endif
|
|
|
|
|
2021-07-05 10:45:31 +00:00
|
|
|
// Turn status LED on
|
2024-05-03 05:21:29 +00:00
|
|
|
gpio_set_pin_output(C7);
|
|
|
|
gpio_write_pin_high(C7);
|
2016-07-21 04:12:00 +00:00
|
|
|
|
2021-07-05 10:45:31 +00:00
|
|
|
matrix_init_user();
|
2016-07-21 04:12:00 +00:00
|
|
|
}
|