How to8 min read
How to share a keyboard, mouse and screen between a PC and a Mac
Three ways to run a PC and a Mac from one desk: multi-device keyboards and mice, a monitor with a KVM switch, or a dock. What works, what to expect from the Mac and Windows shortcuts, and the sound.
By Setuplify Lab

Some links on this page are affiliate links: we may earn a commission, at no extra cost to you. It never changes our picks. How we make money
Short answer: the simplest way is a keyboard and a mouse that switch between devices with one key, such as the Logitech MX Keys S and the M720 Triathlon. If both computers also share one screen, a monitor with a built-in KVM switch like the Dell UltraSharp U2725QE moves the keyboard and mouse with the input you show. Our one desk for work and gaming guide covers the laptop and gaming PC case; this one is about the Mac and Windows differences.
Three ways to share
1. Keyboards and mice that switch devices



The MX Keys S and the Wave Keys pair with three devices and switch with the Easy-Switch keys; the Wave Keys print both Windows and Mac legends on the keys. For a mechanical board, the Keychron Q1 Max connects over Bluetooth to up to three devices and ships with Mac and Windows keycaps.
On the mouse side, the M720 Triathlon switches between three devices with a thumb button, and with Logitech Flow the cursor and copy-paste can move from one screen to the next across Windows and macOS. The MX Anywhere 3S and the Lift also pair with three devices.
2. A monitor with a KVM switch
When both computers share one screen, the Dell UltraSharp U2725QE does the work: the Mac connects over Thunderbolt 4 (video, data and up to 140 W of charging for a MacBook), and its KVM switch serves a second computer, so the keyboard and mouse plugged into the screen follow the input you show. It also adds 2.5 Gb Ethernet and USB ports. Our USB-C monitor guide lists screens with one-cable connections.
3. A dock for the Mac
If the Mac is a MacBook that leaves the desk, a dock like the CalDigit TS5 keeps its drives, Ethernet and screens on one Thunderbolt cable, while the PC stays connected to the monitor's other input. The TS5 has no HDMI or DisplayPort, so screens connect over Thunderbolt or a USB-C adapter. More in our hubs and docks guide.
Shortcuts and layouts
- Cmd and Ctrl. macOS uses Cmd where Windows uses Ctrl. Keyboards made for both, like the MX Keys S, adapt their shortcut keys to the system they are connected to; on others, swap the modifier keys in the system settings or in Logi Options+.
- Legends. Printed Mac and Windows legends (Wave Keys) or swappable keycaps (Keychron) avoid guessing.
- Layout. In France or Germany, a Mac AZERTY or QWERTZ layout differs slightly from the Windows one on symbols; choose the system layout that matches the keyboard you type on.
Sound for both
- Bluetooth multipoint: the Sony WH-1000XM6 pairs with two devices at once, so the PC and the Mac can share it for calls and music.
- A base station: the SteelSeries Arctis Nova Pro Omni GameHub has three USB-C system inputs, so two computers and a console play into one headset.
Mistakes to avoid
- A keyboard that pairs with one device only, which makes you re-pair at every switch.
- Two computers on one screen without a KVM: you end up with two keyboards on the desk.
- Forgetting the Cmd and Ctrl swap and fighting shortcuts all day.
Written by
Setuplify Lab, Editorial team
The Setuplify team builds, photographs and takes apart desk setups so you can pick parts with confidence.
Head to head
The match-ups between picks of this guide, spec by spec, with a verdict.
Keep reading

Setup guide 9 min read
One desk for work and gaming: how to share it between a laptop and a PC
A work laptop by day, a gaming PC at night, one desk. The monitor inputs, the keyboard, mouse and headset that switch between both, the one-cable dock, and the chair and light that make long days and late sessions comfortable.

Setup guide 8 min read
The best accessories for a Mac mini setup: screen, keyboard, dock and the rest
The Mac mini comes without a screen, a keyboard or a mouse. What to plug into it, which screen keeps macOS sharp, and which extras are worth it.

Best of 6 min read
The best keyboard and mouse for Mac: Apple and Logitech picks
Apple's own Magic Keyboard and Magic Mouse, the Logitech MX pair most Mac desks end up with, a travel mouse and two cheaper options, with what each one does better on macOS.

Best of 7 min read
The best USB-C and Thunderbolt monitors for a one-cable laptop desk
One cable for the picture, the ports and the charging: the USB-C and Thunderbolt monitors we recommend, how many watts your laptop needs, and when a full Thunderbolt dock is worth it.

Best of 7 min read
The best USB-C hubs and docks for a laptop desk
One cable from the laptop to monitors, USB, Ethernet and power. A cheap travel hub, a dual-display hub, a powered dock with its own supply and a Thunderbolt 5 dock, with the catches of each.
Questions people ask
Can one keyboard work with a PC and a Mac?
Yes. Multi-device keyboards like the Logitech MX Keys S or the Wave Keys pair with three devices and switch with one key; the Wave Keys print both Mac and Windows legends.
What is a KVM switch in a monitor?
It links the keyboard and mouse plugged into the screen to the computer you show, so switching the input switches them too. The Dell UltraSharp U2725QE has one for a second computer.