mirror of
https://github.com/hrvach/deskhop.git
synced 2024-11-28 10:43:13 +01:00
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;
|
||||
}
|
||||
|
||||
if (global_state.active_output == out) {
|
||||
if (BOARD_ROLE == out) {
|
||||
queue_kbd_report(&lock_report, state);
|
||||
release_all_keys(state);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user