keyboard/qmk/keyboards/rotr/rotr.c

10 lines
171 B
C
Raw Normal View History

#include "rotr.h"
void encoder_update_kb(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
}