chore: fix screenlock
Shortcut is always received local to the device the keyboard is connected to. Send command to all others.
This commit is contained in:
parent
8df007ac13
commit
b572449372
|
@ -117,7 +117,7 @@ void screenlock_hotkey_handler(device_t *state, hid_keyboard_report_t *report) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (global_state.active_output == out) {
|
if (BOARD_ROLE == out) {
|
||||||
queue_kbd_report(&lock_report, state);
|
queue_kbd_report(&lock_report, state);
|
||||||
release_all_keys(state);
|
release_all_keys(state);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue