Only trigger encoder callbacks on primary side (#18467)

Co-authored-by: zvecr <git@zvecr.com>
This commit is contained in:
Drashna Jaelre 2022-11-13 07:51:19 -08:00 committed by GitHub
parent 4c1d8a0eb3
commit 8812872794
Failed to generate hash of commit
7 changed files with 180 additions and 3 deletions

View file

@ -34,3 +34,7 @@ bool setPin(pin_t pin, bool val) {
pins[pin] = val;
return val;
}
__attribute__((weak)) bool is_keyboard_master(void) {
return true;
}