kitten_paw.c 700 B

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