683605a9dc
* initial commit * Update layout. Tweak rules.mk * initial userspace configuration for kuchosauronad0 * modified userspace for kuchosauronad0 * added OSL_UNI * clean up * clean up * style * style * added more unicode * fixed representation * fixed representation * added comments * added comments, restructure * accidently one line * restructure * restructure * added git_lazy(void) * fixed indenting and added missing symbols * fixed indent * fixed indent * update * change tapping_term to 150 * added UNICODEMAP_ENABLE block * replace register with tap_code where possible * formatting * rearrange sequences * clean up * clean up * added unicode layer * disabled tap dance * add files for encoder * removed unnecessary include * removed unnecessary stuff
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);
|
|
}
|
|
}
|
|
|