diff options
author | TerryMathews <[email protected]> | 2017-04-08 00:30:54 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2017-04-08 00:30:54 -0400 |
commit | 3899bec4b603a0880055c60df534c5a86ad44a52 (patch) | |
tree | dd3ac70f403290fafff4bf8005925a3d5eed69cd /keyboards/roadkit/roadkit.c | |
parent | 2a2be010d9d8c10d872c01637f4b4cd263f9bc1b (diff) | |
parent | 154305ce1be16b2c8abce5e5d4dee421f295d6b3 (diff) | |
download | qmk_firmware-3899bec4b603a0880055c60df534c5a86ad44a52.tar.gz qmk_firmware-3899bec4b603a0880055c60df534c5a86ad44a52.zip |
Merge pull request #1 from qmk/master
Catchup
Diffstat (limited to 'keyboards/roadkit/roadkit.c')
-rw-r--r-- | keyboards/roadkit/roadkit.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/roadkit/roadkit.c b/keyboards/roadkit/roadkit.c new file mode 100644 index 0000000000..26e0c51ec5 --- /dev/null +++ b/keyboards/roadkit/roadkit.c @@ -0,0 +1,28 @@ +#include "roadkit.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); +} |