mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 02:56:33 +06:00
10 lines
171 B
C
10 lines
171 B
C
|
#include "rotr.h"
|
||
|
|
||
|
void encoder_update_kb(uint8_t index, bool clockwise) {
|
||
|
if (clockwise) {
|
||
|
tap_code(KC_VOLU);
|
||
|
} else {
|
||
|
tap_code(KC_VOLD);
|
||
|
}
|
||
|
}
|