diff options
author | Balz Guenat <balz.guenat@gmail.com> | 2017-08-12 12:14:33 +0200 |
---|---|---|
committer | Balz Guenat <balz.guenat@gmail.com> | 2017-08-12 12:14:33 +0200 |
commit | 430151dd51b8b0d925850ad4d52c8bae41d3c154 (patch) | |
tree | f3d13283dd812277bc30d75dff32ea16508b58c8 /keyboards/jc65/jc65.c | |
parent | 175db1a549a46518c2f2511ac1624d594eb07216 (diff) | |
parent | 5ad103fa51083cb26d3516e5598b7b2a099b1521 (diff) |
Merge remote-tracking branch 'upstream/master'
# Conflicts:
# docs/faq_keymap.md
Diffstat (limited to 'keyboards/jc65/jc65.c')
-rw-r--r-- | keyboards/jc65/jc65.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/jc65/jc65.c b/keyboards/jc65/jc65.c new file mode 100644 index 0000000000..82b1d57416 --- /dev/null +++ b/keyboards/jc65/jc65.c @@ -0,0 +1,28 @@ +#include "jc65.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); +} |