summaryrefslogtreecommitdiff
path: root/keyboards/412_64/412_64.c
diff options
context:
space:
mode:
authorFateEverywhere <41215461+FateEverywhere@users.noreply.github.com>2018-11-13 11:38:48 -0500
committerDrashna Jaelre <drashna@live.com>2018-11-13 08:38:48 -0800
commit4609d68ddcf4b5094e8183f99549fe83af3cc144 (patch)
tree4dbf22a74b9302a70442c0f9803ae4b44ff5099e /keyboards/412_64/412_64.c
parent2dea540afbfcffaea82f70b6642c39aedb9e3b5b (diff)
Keyboard: Add 412 64 Model 00 keyboard. (#4400)
* Add 412-64 keyboard firmware It's pretty barebones for now, but the Model 00 is also a pretty barebones machine. Model 01 won't be better, but plenty of pins exist for things like LEDs on Model 02. * MANU/PROD ID changes. Changed around the MANUFACTURER and PRODUCT IDs to be more polite when viewed in qmk toolbox. * Fixing PROD again. For the love of all that is good and holy, that was ugly. This new one looks better. This stuff matters to me for some reason. * Yep, updating MANU again. There we go. That's better - From my name to my "design firm". * Update keyboards/412_64/keymaps/default/keymap.c Co-Authored-By: FateEverywhere <41215461+FateEverywhere@users.noreply.github.com> * Update keyboards/412_64/rules.mk Co-Authored-By: FateEverywhere <41215461+FateEverywhere@users.noreply.github.com> * Update keyboards/412_64/rules.mk Co-Authored-By: FateEverywhere <41215461+FateEverywhere@users.noreply.github.com> * Update keyboards/412_64/rules.mk Co-Authored-By: FateEverywhere <41215461+FateEverywhere@users.noreply.github.com> * Update keyboards/412_64/rules.mk Co-Authored-By: FateEverywhere <41215461+FateEverywhere@users.noreply.github.com>
Diffstat (limited to 'keyboards/412_64/412_64.c')
-rw-r--r--keyboards/412_64/412_64.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/412_64/412_64.c b/keyboards/412_64/412_64.c
new file mode 100644
index 0000000000..eaec54ade8
--- /dev/null
+++ b/keyboards/412_64/412_64.c
@@ -0,0 +1,29 @@
+
+#include "412_64.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);
+}