sixshooter.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include "sixshooter.h"
  2. extern inline void sixshooter_led_0_on(void);
  3. extern inline void sixshooter_led_1_on(void);
  4. extern inline void sixshooter_led_2_on(void);
  5. extern inline void sixshooter_led_3_on(void);
  6. extern inline void sixshooter_led_4_on(void);
  7. extern inline void sixshooter_led_5_on(void);
  8. extern inline void sixshooter_led_0_off(void);
  9. extern inline void sixshooter_led_1_off(void);
  10. extern inline void sixshooter_led_2_off(void);
  11. extern inline void sixshooter_led_3_off(void);
  12. extern inline void sixshooter_led_4_off(void);
  13. extern inline void sixshooter_led_5_off(void);
  14. extern inline void sixshooter_led_all_on(void);
  15. extern inline void sixshooter_led_all_off(void);
  16. void matrix_init_kb(void) {
  17. // put your keyboard start-up code here
  18. // runs once when the firmware starts up
  19. matrix_init_user();
  20. }
  21. void matrix_scan_kb(void) {
  22. // put your looping keyboard code here
  23. // runs every cycle (a lot)
  24. matrix_scan_user();
  25. }
  26. void led_set_kb(uint8_t usb_led) {
  27. // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
  28. led_set_user(usb_led);
  29. }