aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/maxipad/maxipad.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-11-16 21:17:51 -0500
committerGitHub <noreply@github.com>2016-11-16 21:17:51 -0500
commitc38b3e3be93a8b4f520212117b6498a288d67751 (patch)
tree1baa4005ba9c498744a3bbb2257943dbd41036e0 /keyboards/maxipad/maxipad.c
parent72e78a017fceb80cd43f014cf38218e845623f1c (diff)
parentb085a34506bc981a7c7cdb270b7786d6a4cbf985 (diff)
downloadfirmware-c38b3e3be93a8b4f520212117b6498a288d67751.tar.gz
firmware-c38b3e3be93a8b4f520212117b6498a288d67751.tar.bz2
firmware-c38b3e3be93a8b4f520212117b6498a288d67751.zip
Merge pull request #883 from climbalima/master
added rev2 lets split after merging with qmk
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);
+}