Arduino-based PS2 -> Macintosh Plus keyboard adapter
This sketch allows to use a PS/2 keyboard with the Macintosh Plus. Mapping between PS/2 keys and Mac keys is stored in the keymap.ino file. Sketch uses a modified version of the PS2Keyboard Library --- all the logic except getScanCode() method have been stripped.
Connecting to Macintosh Plus
Get a phone cord with RJ10 plug and connect pin as follows:
Vcc -> +5V
+DATA -> pin 5,
+CLK -> pin 6,
GND -> GND.
The order of RJ10 pins is the same as in the computer connector:
Connecting to PS/2 keyboard
For the Mini-DIN 6 plug, pins should be connected as follows:
+DATA -> pin 3,
-,
GND -> GND,
Vcc -> +5V,
+CLK -> pin 2,
Pinout for the female connector from front (copied from Wikipedia):