summaryrefslogtreecommitdiffstats
path: root/keyboards/miuni32/miuni32.c
diff options
context:
space:
mode:
authorAdam YH Lee <adam.yh.lee@gmail.com>2017-04-04 05:36:13 +0200
committerAdam YH Lee <adam.yh.lee@gmail.com>2017-04-04 05:36:13 +0200
commit236826e7c1f59e63699868b7247ec849c24b44b9 (patch)
treedffdbd0b74cd63ff5ce959436acfee6addc083e1 /keyboards/miuni32/miuni32.c
parentd75a44a02b5047510cfd25fab5a839537efdbfb7 (diff)
parente18768aa77985e3695f34b71f0e84547293e8104 (diff)
downloadqmk_firmware-236826e7c1f59e63699868b7247ec849c24b44b9.tar.gz
qmk_firmware-236826e7c1f59e63699868b7247ec849c24b44b9.tar.xz
Merge branch 'miuni32-OA'
Diffstat (limited to 'keyboards/miuni32/miuni32.c')
-rw-r--r--keyboards/miuni32/miuni32.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/miuni32/miuni32.c b/keyboards/miuni32/miuni32.c
new file mode 100644
index 000000000..1c1983a56
--- /dev/null
+++ b/keyboards/miuni32/miuni32.c
@@ -0,0 +1,28 @@
+#include "miuni32.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);
+}