]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/exclusive/e7v1/e7v1.c
Regroup all Exclusive keyboard in one directory
[qmk_firmware.git] / keyboards / exclusive / e7v1 / e7v1.c
1 #include "e7v1.h"
2
3 void matrix_init_kb(void) {
4   setPinOutput(F0);
5   matrix_init_user();
6 }
7
8 void matrix_scan_kb(void) {
9   matrix_scan_user();
10 }
11
12 bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
13   return process_record_user(keycode, record);
14 }
15
16 void led_set_kb(uint8_t usb_led) {
17   if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
18     writePinHigh(F0);
19   } else {
20     writePinLow(F0);
21   }
22
23   led_set_user(usb_led);
24 }
25