Merge pull request #83 from jalmeroth/fix/screenlock-macos

fix macos lock key combination
This commit is contained in:
Hrvoje Čavrak 2024-04-02 21:42:42 +02:00 committed by GitHub
commit 8df007ac13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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