- Mouse Control: Move the mouse cursor on your Macintosh Classic using your MacBook's trackpad or mouse.
- Keyboard Input: You can type and even do ⌘+Z!
- Setting view for configuring the serial port. What more do you want to configure?
When the mouse touches the left edge of the screen, the cursor will be locked and the movement and keystrokes will be sent via an Arduino.
The Arduino (uno or nano. I'm using a nano) is listens via USB serial for mouse and keyboard events from the Mac and sends them to the Macintosh Classic over ADB.
The Arduino code can be compiled using platform.io. The macos app can be built using Xcode. On the Arduino side, connect the ADB data line to Arduino's digital pin 2. Connect the ADB power line to Arduino's 5V pin and the ADB ground line to Arduino's GND pin.
I just did, so I'm not updating this project anymore. But if your mouse is broken, you can use this project to control your old Macintosh Classic from a MacBook.
The code is not perfect, it's more a proof of concept than a production-ready solution. At least it's not vibe coded.
The Arduino ADB code is based on ADBuino. The macOS app is written in Swift and uses the SwiftSerial library for serial communication and BitByteData for serializing data to the Arduino.