diff options
Diffstat (limited to 'users/kuchosauronad0/encoder.c')
-rw-r--r-- | users/kuchosauronad0/encoder.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/kuchosauronad0/encoder.c b/users/kuchosauronad0/encoder.c new file mode 100644 index 0000000000..1b9b2cb12f --- /dev/null +++ b/users/kuchosauronad0/encoder.c @@ -0,0 +1,10 @@ +#include "encoder.h" + +void encoder_update_user(uint8_t index, bool clockwise) { + if (clockwise) { + tap_code(KC_1); + } else { + tap_code(KC_0); + } +} + |