Move VIA config to keymap level (#23754)
This commit is contained in:
parent
73f9fb91a3
commit
3400908b08
70 changed files with 582 additions and 113 deletions
|
@ -46,7 +46,7 @@ led_config_t g_led_config = { {
|
|||
} };
|
||||
#endif
|
||||
|
||||
#if !defined(VIA_ENABLE) && defined(ENCODER_ENABLE)
|
||||
#if defined(ENCODER_ENABLE) && !defined(ENCODER_MAP_ENABLE)
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
if (!encoder_update_user(index, clockwise)) {
|
||||
return false;
|
||||
|
@ -79,4 +79,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue