1
0
Fork 0

Move VIA config to keymap level (#23754)

This commit is contained in:
Joel Challis 2024-05-21 13:25:28 +01:00 committed by GitHub
parent 73f9fb91a3
commit 3400908b08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 582 additions and 113 deletions

View file

@ -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