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:
Jan Almeroth 2024-04-11 21:21:19 +02:00
parent 8df007ac13
commit b572449372

View File

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