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