Development blog ·

One keyboard and mouse for Windows and Mac (a development side story)

A diagram of a Windows PC and a Mac connected by a USB cable, with one keyboard and mouse connected to the Windows PC, and the words One keyboard and mouse for Windows and Mac

Hello, this is Akimaru from maru-games. This time, as a development side story, I am writing about my desk.

When I needed a Mac

Windows has always been my main computer. Android apps, Windows apps and work on the website can all be done on it. Developing for Mac or iPhone, however, takes a Mac. And so there were two computers on my desk.

With two computers, the keyboards and mice became a nuisance. I had to switch mice, and two keyboards took up space. I mixed them up, too. I would type, get no response, wonder if something had frozen, and then find I had been typing on the other keyboard.

Connecting them over USB

So I started using the KB-USB-LINK4, a USB link cable from Sanwa Supply. It has a USB Type-A plug on both ends and connects two computers. To use it, you install the software that comes with the cable on the computers. Move the mouse cursor to the edge of the screen, and on it goes to the other one. There is also the KB-USB-LINK5, with USB Type-C on one end; apart from the plug, it is much the same.

A black link cable plugged into a USB port on a computer Plugged into a PC

My mouse and keyboard are connected to the Windows machine. What I use most is keyboard and mouse sharing, and copy and paste. Something copied on one side can be pasted on the other.

What I like about it

First, my desk is tidier. One keyboard and one mouse are enough. Both computers now feel the same to operate, which makes them easier to use.

A small thing I am glad about is the scroll wheel. It used to move in opposite directions on Windows and Mac, and now they match. I no longer hesitate each time I turn it.

What troubles me

Now and then it becomes unstable and fails to connect. Unplugging the cable and plugging it back in usually fixes it.

There is one more thing on my mind. Have you seen a notification like this on your Mac?

A recreated macOS notification in Japanese saying that support for Intel-based apps is ending and that this version of the app will not open in a future release of macOS. The app name and icon are blurred
Illustration. The wording follows a publicly posted screenshot, and the app name and icon are hidden. This is not an actual screen. It is in Japanese and says that support for Intel-based apps is ending, and that this version of the app will not open in a future release of macOS.

macOS can show this when you open an app built for Intel processors. In my case, it was the software that comes with the cable. According to Apple’s support article, Rosetta, which runs Intel-based apps on Macs with Apple silicon, is available up to macOS 27; from macOS 28 it will be limited to certain older games that are no longer maintained. If you get the same notice, check the App Store or the developer’s website for an Apple silicon or Universal version of the app. If there is none, the next step is to ask the developer.

I can’t log in to my Mac (lol)

The funny one happened when I restarted the Mac.

I typed my password to log in, and nothing went in. I typed it again, with the same result. The keyboard was right in front of me, and I couldn’t log in. Lol.

Come to think of it, it makes sense: the cable’s app does not run until the Mac has started up. So, just for those times, I move the keyboard over to the Mac, log in, and move it back to Windows.

Wrapping up

It takes some looking after, but my desk is tidy and the two computers feel the same to use, so I am glad I use it. You can check supported operating systems and more on the manufacturer’s product page (in Japanese).

And so I am down to one keyboard. As long as I don’t restart, life is comfortable.

← Back to the development blog