Free tool · macOS + Windows · works with Logitech Easy-Switch

PairSwitch

One keyboard and mouse for two computers. Works with Logitech keyboards and mice. Push the cursor against the screen edge, or press Easy-Switch on either device, and both move to the other computer together. Text you copy can follow, encrypted, over your own network.

Free tools ›
Windows PCchannel 1
Clipboard(empty)
Macchannel 2
Clipboard(empty)
Keyboardon the Mac
Mouseon the Mac
Switch
Clipboard

What goes over the wire

Press any button above to see the exact message PairSwitch sends.

watch.log (the tool's own log, simulated)

    How it works

    1. The screen edge

    A small menu-bar app (Mac) or tray app (Windows) watches the cursor 50 times a second. Hold it against the edge that faces the other computer for 50 ms, away from the corners, and it switches. It only re-arms after the cursor has left the edge, so arriving back never bounces you straight away again.

    2. Logitech's own command

    It talks to the devices over the Bluetooth or receiver link they already use, with Logitech's HID++ 2.0 Change Host command (feature 0x1814): mouse first, then keyboard. It then checks that each device really left and re-sends up to three times if one did not.

    3. The other one follows

    Press Easy-Switch on the keyboard or a channel button on the mouse, and the device disappears from this computer. PairSwitch notices and sends the other one after it. If the computer was idle for over a minute, it assumes the device just went to sleep and does nothing.

    4. Clipboard, optional and off by default

    The Mac listens on TCP port 51888 and the PC dials out to it, so nothing ever connects in to the PC. Every message is AES-256-CBC with an HMAC-SHA256 tag and a timestamp, under keys made from a shared 16-character pairing code (PBKDF2-SHA256, 200,000 rounds). Text only, up to 1 MB. No internet, no account, no third party.

    Get it

    Download PairSwitch 1.4.1 (source, 60 KB)

    PairSwitch was called LogiSwitch until November 2026. The download, its folder and the installed app still use the old file name, so copies already installed keep updating.

    Before you start

    • A Logitech keyboard and mouse with Easy-Switch (tested with an ERGO K860 and an MX Vertical).
    • Pair each device with both computers, each computer on its own channel. Default: PC on 1, Mac on 2.
    • No admin rights needed on either computer.

    Windows

    1. Unzip, open the LogiSwitch folder and double-click Install.cmd.
    2. An arrows icon appears beside the clock. Set where the Mac is and its channel there.

    Mac

    1. Unzip into Downloads and run bash ~/Downloads/LogiSwitch/install.sh in Terminal. It builds the app with Apple's free Command Line Tools.
    2. Allow LogiSwitch under Privacy & Security › Input Monitoring, then Quit it from the menu bar and run the installer again.

    Good to know