diff options
author | Callum Oakley <callum@pusher.com> | 2017-08-19 11:34:45 +0200 |
---|---|---|
committer | Callum Oakley <callum@pusher.com> | 2017-08-19 11:34:45 +0200 |
commit | a6845036e25c4f4d936dcd12cd0ddedd2894b30e (patch) | |
tree | b23b4e8d9d757aa3c0d42be561572533ae0d126c /keyboards/hadron/hadron.c | |
parent | 84a8aabe5bf8807595f98de44d18f6a31b892edf (diff) | |
parent | 7277f09bbadcce120f819132dec8ff7172caacc4 (diff) | |
download | qmk_firmware-a6845036e25c4f4d936dcd12cd0ddedd2894b30e.tar.gz qmk_firmware-a6845036e25c4f4d936dcd12cd0ddedd2894b30e.tar.xz |
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'keyboards/hadron/hadron.c')
-rw-r--r-- | keyboards/hadron/hadron.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/hadron/hadron.c b/keyboards/hadron/hadron.c new file mode 100644 index 000000000..ca5b20e89 --- /dev/null +++ b/keyboards/hadron/hadron.c @@ -0,0 +1,26 @@ +#include "hadron.h" + + +void matrix_init_kb(void) { + + 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); +}
\ No newline at end of file |