diff options
author | xyverz <xyverz@gmail.com> | 2016-11-16 22:36:36 -0800 |
---|---|---|
committer | xyverz <xyverz@gmail.com> | 2016-11-16 22:36:36 -0800 |
commit | b493f6a4ed14e74c268ae3d7a07577591fe71cc7 (patch) | |
tree | 0da986aa45733b08c6b8c379658abd5e0a1fb8a7 /keyboards/maxipad/maxipad.c | |
parent | 8dd422ffe1a84416dd4a8d38878979f5b7bbd51b (diff) | |
parent | c38b3e3be93a8b4f520212117b6498a288d67751 (diff) | |
download | qmk_firmware-b493f6a4ed14e74c268ae3d7a07577591fe71cc7.tar.gz qmk_firmware-b493f6a4ed14e74c268ae3d7a07577591fe71cc7.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/maxipad/maxipad.c')
-rw-r--r-- | keyboards/maxipad/maxipad.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/maxipad/maxipad.c b/keyboards/maxipad/maxipad.c new file mode 100644 index 0000000000..879ae86a76 --- /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); +} |