summaryrefslogtreecommitdiffstats
path: root/keyboards/maxipad/maxipad.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-11-22 01:18:47 +0100
committerJack Humbert <jack.humb@gmail.com>2016-11-22 01:18:47 +0100
commit27ebacb15d39046713bd87e06c1157b1ffab6aaf (patch)
tree5a60417af07d3ff8798e371db210dd32ef10d332 /keyboards/maxipad/maxipad.c
parentc1037b1dc060d14a09a59f697fefe2b5b91bf373 (diff)
parent3b990c08dcc0e57875e9220a5e6371f60679c7ae (diff)
downloadqmk_firmware-27ebacb15d39046713bd87e06c1157b1ffab6aaf.tar.gz
qmk_firmware-27ebacb15d39046713bd87e06c1157b1ffab6aaf.tar.xz
merging lets_split
Diffstat (limited to 'keyboards/maxipad/maxipad.c')
-rw-r--r--keyboards/maxipad/maxipad.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/maxipad/maxipad.c b/keyboards/maxipad/maxipad.c
new file mode 100644
index 000000000..879ae86a7
--- /dev/null
+++ b/keyboards/maxipad/maxipad.c
@@ -0,0 +1,28 @@
+#include "maxipad.h"
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+
+ matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+ // put your looping keyboard code here
+ // runs every cycle (a lot)
+
+ matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ // put your per-action keyboard code here
+ // runs for every action, just before processing by the firmware
+
+ return process_record_user(keycode, record);
+}
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+}