blob: b7c551075d27dfa1c03495b6b95d2c55ad82b03a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "rotr.h"
bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise)) return false;
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
return true;
}
|