qmk_firmware/keyboards/handwired/traveller/traveller.c

19 lines
412 B
C
Raw Normal View History

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