diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-09-13 09:40:43 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-13 09:40:43 -0700 |
commit | ce122c4981c71d33a85db94c787d5ec7a823acc6 (patch) | |
tree | 82693003e0e6f4191bd34362025e5ed5bb6ee9db /keyboards/thevankeyboards/minivan/minivan.c | |
parent | cd3518b802071a915ff11659a32bf0a124687ea3 (diff) |
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/minivan/minivan.c')
-rw-r--r-- | keyboards/thevankeyboards/minivan/minivan.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/thevankeyboards/minivan/minivan.c b/keyboards/thevankeyboards/minivan/minivan.c new file mode 100644 index 0000000000..b260195cec --- /dev/null +++ b/keyboards/thevankeyboards/minivan/minivan.c @@ -0,0 +1,28 @@ +#include "minivan.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); +} |