RDPRelativeInput
Supports relative input in RDP (Remote Desktop Protocol) sessions from Windows to Windows using RDP Virtual Channels
Install / Use
/learn @TKMAX777/RDPRelativeInputREADME
RDPRelativeInput
About This Program
This program is designed to allow relative input in an RDP session by wrapping an existing remote desktop client window with another window and sending the client's input information using a RDP Virtual Channel. Currently, only sessions from a Windows machine to a Windows machine is supported.

install
Windows
- Download server and client programs from Releases<br /> Releases
- Run
install.baton the client machine.
Usage
Connect to Windows
- Open Remote Desktop Connection and connect to your server like usual
- Run
RelativeInputServer.exeon host - Enjoy!
☆ If you need client cursor, use the F8 key to switch to absolute input.<br />
☆ To return to relative input mode, select the RDP Input Wrapper window and hit the F8 key again.<br />
☆ If you are using a keyboard setting other than the US keyboard setting on the client machine, the response speed may be significantly reduced due to the IME.<br />
In this case, please add the US keyboard from the Windows settings.<br />
Settings -> Time and Language -> Add Language -> English (US) -> Language Options -> Add Keyboard<br />
☆ When you want to quit this program, please press and hold F12.
Build
MinGW installation is required to create add-ins for mstsc.exe.
Clone this repository and run these commands on powershell.
go build -ldflags -H=windowsgui .\cmd\RelativeInputClient
go build -ldflags -H=windowsgui .\cmd\RelativeInputServer
go build -buildmode=c-shared -o .\RelativeInput.dll .\windows\virtualchanneladdin
cp installer\install.bat
.\install.bat
Why does this program use Graphics Capture API?
This program uses Graphics Capture API on the host computer side.
In a remote desktop connection, the cursor on the host side is normally not displayed. However, the GraphicsCaptureAPI allows the cursor to be displayed, so this program creates a button which can turn this feature on and off and captures that window.
Known issues
- Windows Defender misidentifies the DLL as a Trojan horse program. (https://github.com/TKMAX777/RDPRelativeInput/issues/2)
Copyright
Copyright 2022- tkmax777 and contributors
Related Skills
openhue
346.4kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
346.4kElevenLabs text-to-speech with mac-style say UX.
weather
346.4kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.6kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
