summaryrefslogtreecommitdiff
path: root/keyboards/handwired/daishi/daishi.c
diff options
context:
space:
mode:
authorCroktopus <39040552+Croktopus@users.noreply.github.com>2019-05-11 23:59:52 -0700
committerDrashna Jaelre <drashna@live.com>2019-05-11 23:59:52 -0700
commit94f104cb6cd8751b49df7fa7e5b0b266e5354f92 (patch)
tree52cf901efb7245df890a0f74b044107dd8829390 /keyboards/handwired/daishi/daishi.c
parent0db65190c2f4f72fd99d676d7e8aed6e0cc834f6 (diff)
[Keyboard] Added hand wired keyboard "Daishi" (#5712)
* added daishi * edits made based on feedback * Update keyboards/handwired/daishi/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/handwired/daishi/keymaps/default/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/handwired/daishi/keymaps/default/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * made more changes based on feedback * Update keyboards/handwired/daishi/keymaps/default/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * updated usb device info * fixed layouts * fixed LEDs and keymaps
Diffstat (limited to 'keyboards/handwired/daishi/daishi.c')
-rw-r--r--keyboards/handwired/daishi/daishi.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/handwired/daishi/daishi.c b/keyboards/handwired/daishi/daishi.c
new file mode 100644
index 0000000000..dcd2cd0d15
--- /dev/null
+++ b/keyboards/handwired/daishi/daishi.c
@@ -0,0 +1,22 @@
+#include "daishi.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);
+} \ No newline at end of file