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
704 B

  1. #include "handwire_101.h"
  2. void matrix_init_kb(void) {
  3. // put your keyboard start-up code here
  4. // runs once when the firmware starts up
  5. // Turn status LED on
  6. //DDRD |= (1<<6);
  7. //PORTD |= (1<<6);
  8. matrix_init_user();
  9. }
  10. void matrix_scan_kb(void) {
  11. // put your looping keyboard code here
  12. // runs every cycle (a lot)
  13. matrix_scan_user();
  14. }
  15. bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
  16. // put your per-action keyboard code here
  17. // runs for every action, just before processing by the firmware
  18. return process_record_user(keycode, record);
  19. }
  20. void led_set_kb(uint8_t usb_led) {
  21. // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
  22. led_set_user(usb_led);
  23. }