diff options
author | Drashna Jael're <drashna@live.com> | 2021-11-19 09:48:23 -0800 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-11-19 09:48:23 -0800 |
commit | 4be9919e9fd7c54c2e046b82e82f5fbc2fdd44e6 (patch) | |
tree | 5a56b18bd8aff40ec480833f8ba2f7c48ef3279a /keyboards/ffkeebs/puca/puca.c | |
parent | a5155b98fb29ad4ea6de73f39a0d413d79883356 (diff) | |
parent | 94b535024642bab6705f1e08ec62680d8e49b62b (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/ffkeebs/puca/puca.c')
-rw-r--r-- | keyboards/ffkeebs/puca/puca.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/ffkeebs/puca/puca.c b/keyboards/ffkeebs/puca/puca.c index d131b97f7c..21944a9e5d 100644 --- a/keyboards/ffkeebs/puca/puca.c +++ b/keyboards/ffkeebs/puca/puca.c @@ -15,6 +15,20 @@ */ #include "puca.h" +bool process_record_kb(uint16_t keycode, keyrecord_t* record) { + if (!process_record_user(keycode, record)) { + return false; + } + switch (keycode) { + case MC_00: + if (record->event.pressed) { + SEND_STRING("00"); + } + break; + } + return true; +} + bool encoder_update_kb(uint8_t index, bool clockwise) { if (!encoder_update_user(index, clockwise)) { return false; } if (clockwise) { |