You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
155 B
11 lines
155 B
![]()
5 years ago
|
#include "encoder.h"
|
||
|
|
||
|
void encoder_update_user(uint8_t index, bool clockwise) {
|
||
|
if (clockwise) {
|
||
|
tap_code(KC_1);
|
||
|
} else {
|
||
|
tap_code(KC_0);
|
||
|
}
|
||
|
}
|
||
|
|