mirror of
https://github.com/hrvach/deskhop.git
synced 2024-11-28 10:43:13 +01:00
fix: lets not assume remapped keys
fixes https://github.com/hrvach/deskhop/issues/82
This commit is contained in:
parent
1a91b4d49f
commit
2baa33e828
@ -110,7 +110,7 @@ void screenlock_hotkey_handler(device_t *state, hid_keyboard_report_t *report) {
|
|||||||
lock_report.keycode[0] = HID_KEY_L;
|
lock_report.keycode[0] = HID_KEY_L;
|
||||||
break;
|
break;
|
||||||
case MACOS:
|
case MACOS:
|
||||||
lock_report.modifier = KEYBOARD_MODIFIER_LEFTCTRL | KEYBOARD_MODIFIER_LEFTALT;
|
lock_report.modifier = KEYBOARD_MODIFIER_LEFTCTRL | KEYBOARD_MODIFIER_LEFTGUI;
|
||||||
lock_report.keycode[0] = HID_KEY_Q;
|
lock_report.keycode[0] = HID_KEY_Q;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user