mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
11 lines
155 B
C
11 lines
155 B
C
|
#include "encoder.h"
|
||
|
|
||
|
void encoder_update_user(uint8_t index, bool clockwise) {
|
||
|
if (clockwise) {
|
||
|
tap_code(KC_1);
|
||
|
} else {
|
||
|
tap_code(KC_0);
|
||
|
}
|
||
|
}
|
||
|
|