summaryrefslogtreecommitdiff
path: root/keyboards/ffkeebs/puca/puca.c
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2021-11-19 09:48:23 -0800
committerDrashna Jael're <drashna@live.com>2021-11-19 09:48:23 -0800
commit4be9919e9fd7c54c2e046b82e82f5fbc2fdd44e6 (patch)
tree5a56b18bd8aff40ec480833f8ba2f7c48ef3279a /keyboards/ffkeebs/puca/puca.c
parenta5155b98fb29ad4ea6de73f39a0d413d79883356 (diff)
parent94b535024642bab6705f1e08ec62680d8e49b62b (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/ffkeebs/puca/puca.c')
-rw-r--r--keyboards/ffkeebs/puca/puca.c14
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) {