hrvach / deskhop

Fast Desktop Switching Device
GNU General Public License v3.0
5.96k stars 166 forks source link

Screenlock on macOS doesn't work #82

Closed jalmeroth closed 3 months ago

jalmeroth commented 3 months ago

Hi there,

I noticed that the new feature to lock both devices (Right ALT + Right Shift + L) at the same time didn't work for me on macOS.

Deskhop sends Ctrl + Alt + Q but it should be Ctrl + Cmd + Q:

Screenshot 2024-04-02 at 20 38 16

Has this successfully been tested by others? If not I can prepare a PR for this.

Regards, Jan

hrvach commented 3 months ago

Did you configure OS you have connected on each output so the box know which shortcut to send?

jalmeroth commented 3 months ago

Yes, I did and I successfully used KEYBOARD_MODIFIER_LEFTGUI instead of KEYBOARD_MODIFIER_LEFTALT.

hrvach commented 3 months ago

Oh, this might be due to the fact my command and option keys are swapped :)