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.

28 lines
561 B

  1. #include "helix.h"
  2. #ifdef SSD1306OLED
  3. #include "ssd1306.h"
  4. bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
  5. return process_record_gfx(keycode,record) && process_record_user(keycode, record);
  6. }
  7. void led_set_kb(uint8_t usb_led) {
  8. // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
  9. led_set_user(usb_led);
  10. }
  11. #endif
  12. void matrix_init_kb(void) {
  13. // // green led on
  14. // DDRD |= (1<<5);
  15. // PORTD &= ~(1<<5);
  16. // // orange led on
  17. // DDRB |= (1<<0);
  18. // PORTB &= ~(1<<0);
  19. matrix_init_user();
  20. };