hrvach / deskhop

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

Screenlock on macOS doesn't work #82

Closed jalmeroth closed 8 months ago

jalmeroth commented 8 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 8 months ago

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

jalmeroth commented 8 months ago

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

hrvach commented 8 months ago

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