summaryrefslogtreecommitdiffstats
path: root/keyboards/maxipad/maxipad.c
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-11-23 23:47:16 +0100
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-11-23 23:47:16 +0100
commitc05cbaf534d7d58bb8ca4cd9405525b941194372 (patch)
tree8d0374a5f0a3e44801f69dd6a434680fc13aab8b /keyboards/maxipad/maxipad.c
parent5b88e7ab9a59dbbc5df6ffa4639befebb9fb115e (diff)
parent2b3a3ca67867ecd02e100c6e2fbe1972af1abb84 (diff)
downloadqmk_firmware-c05cbaf534d7d58bb8ca4cd9405525b941194372.tar.gz
qmk_firmware-c05cbaf534d7d58bb8ca4cd9405525b941194372.tar.xz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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);
+}