I have a HP laptop. I configured 3-finger tap to simulate a middle click, and it works fine locally on the laptop. However, when I connect to my desktop using Remote Desktop and I try to use the 3-finger tap in the remote session, it instead opens a side panel titled "Project" saying "We can't change the display topology during a remote connection".
The remote computer is a desktop (no touchpad). Both computers are running Windows 10.
How can I get the middle-click functionality in the remote session?
Best Answer
tl;dr: Try using the AutoHotkey script at the end.
I'm on a Lenovo ThinkPad T570, your mileage may vary.
I opened AutoHotkey to see what happens when I touch the touchpad with three fingers. This is what happens on the client side:
A three-finger touch is translated to a
Left Win
+Left Control
+Left Shift
+F22
key combination. (The OS recognizesF22
key even if it's not present on any physical keyboard I know of.)This is what happens on the server side:
As you can see, the ficticious
Shift
is always released¹ before presssingF22
, and theCtrl
key is sometimes released² before pressing theF22
.Running the following AutoHotkey script on the Remote Desktop server translates the relevant key combinations to a Middle Mouse Button click:
You may want to try adding key combinations including
Left Shift
(<+
) if this doesn't work reliably for you.