susam / uncap

Map Caps Lock to Escape or any key to any key
MIT License
1.07k stars 43 forks source link

Works strange in remote desktop #20

Open endlessPi opened 3 years ago

endlessPi commented 3 years ago

Hi, I am switching keys ESC and Caps with uncap 0x1b:0x14 on my local machine (Windows 10), but in my remote desktop (Windows 10), when I press the physical Caps key, I get the behavior of ESC and Caps at the same time. Is there a workaround for this issue?

drazde commented 3 years ago

Hi, I am switching keys ESC and Caps with uncap 0x1b:0x14 on my local machine (Windows 10), but in my remote desktop (Windows 10), when I press the physical Caps key, I get the behavior of ESC and Caps at the same time. Is there a workaround for this issue?

Me too

drazde commented 2 years ago

Hi, I try with registry key and also remap key doesn't work.

C:\Users\marco>reg query "HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
    Scancode Map    REG_BINARY    00000000000000000200000001003A0000000000

EDIT: with mstsc also with the registry key I can't use Caps-Lock like Esc

drazde commented 2 years ago

It seems that the problem is only with mstsc. From linux using xfreeRDP uncap works. I haven't tried with xfreeRDP from windows yet.

EDIT: with xfreeRDP for Windows uncap works correctly!

drazde commented 2 years ago

Seems to be related to the connection setup. If you choose Nel computer remoto (only on the remote computer) It works correctly

immagine