summaryrefslogtreecommitdiffstats
path: root/keyboards/thevankeyboards/bananasplit/bananasplit.c
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-09-13 18:40:43 +0200
committerDrashna Jaelre <drashna@live.com>2018-09-13 18:40:43 +0200
commitce122c4981c71d33a85db94c787d5ec7a823acc6 (patch)
tree82693003e0e6f4191bd34362025e5ed5bb6ee9db /keyboards/thevankeyboards/bananasplit/bananasplit.c
parentcd3518b802071a915ff11659a32bf0a124687ea3 (diff)
downloadqmk_firmware-ce122c4981c71d33a85db94c787d5ec7a823acc6.tar.gz
qmk_firmware-ce122c4981c71d33a85db94c787d5ec7a823acc6.tar.xz
Keyboard: Shuffle keyboards into thevankeyboards directory (#3895)
* move tv44 to thevankeyboards directory * move bananasplit to thevankeyboards * move roadkit to thevankeyboards directory * add a basic readme * update readmes to correct the make instructions and add more help text * rename tv44 to minivan as per Jack's suggestions * update readme * rename tv44 to minivan * update tv44 to minivan * change includes for tv44 to minivan * remove extra includes
Diffstat (limited to 'keyboards/thevankeyboards/bananasplit/bananasplit.c')
-rw-r--r--keyboards/thevankeyboards/bananasplit/bananasplit.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/thevankeyboards/bananasplit/bananasplit.c b/keyboards/thevankeyboards/bananasplit/bananasplit.c
new file mode 100644
index 000000000..1aa8fb174
--- /dev/null
+++ b/keyboards/thevankeyboards/bananasplit/bananasplit.c
@@ -0,0 +1,28 @@
+#include "bananasplit.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);
+}