summaryrefslogtreecommitdiff
path: root/users/kuchosauronad0/encoder.c
blob: 1b9b2cb12f7fc2856eb1665506b06b61adcfcced (plain)
1
2
3
4
5
6
7
8
9
10
#include "encoder.h"

void encoder_update_user(uint8_t index, bool clockwise) {
  if (clockwise) {
   tap_code(KC_1);
  } else {
   tap_code(KC_0);
  }
}