Userspace kuchosauronad0 (#6541)
* 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
This commit is contained in:
committed by
MechMerlin
parent
c178bbf2e5
commit
683605a9dc
10
users/kuchosauronad0/encoder.c
Normal file
10
users/kuchosauronad0/encoder.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "encoder.h"
|
||||
|
||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (clockwise) {
|
||||
tap_code(KC_1);
|
||||
} else {
|
||||
tap_code(KC_0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user