summaryrefslogtreecommitdiff
path: root/keyboards/rotr/rotr.c
blob: 2097bd9c14cc9e9f32972e095a9cfabf9548fdf8 (plain)
1
2
3
4
5
6
7
8
9
#include "rotr.h"

void encoder_update_kb(uint8_t index, bool clockwise) {
    if (clockwise) {
        tap_code(KC_VOLU);
    } else {
        tap_code(KC_VOLD);
    }
}