You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#include "helix.h"
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef SSD1306OLED
|
|
|
|
#include "ssd1306.h"
|
|
|
|
|
|
|
|
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|
|
|
return process_record_gfx(keycode,record) && process_record_user(keycode, record);
|
|
|
|
}
|
|
|
|
|
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
|
|
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
|
|
|
led_set_user(usb_led);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void matrix_init_kb(void) {
|
|
|
|
|
|
|
|
// // green led on
|
|
|
|
// DDRD |= (1<<5);
|
|
|
|
// PORTD &= ~(1<<5);
|
|
|
|
|
|
|
|
// // orange led on
|
|
|
|
// DDRB |= (1<<0);
|
|
|
|
// PORTB &= ~(1<<0);
|
|
|
|
|
|
|
|
matrix_init_user();
|
|
|
|
};
|