2017-04-17 17:45:00 +03:00
|
|
|
# Arduino_X-Arcade_USB-adapter
|
|
|
|
|
2019-04-16 10:14:25 +03:00
|
|
|
## Keyboard
|
|
|
|
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/tree/master/PS2_Soarer_Converter
|
|
|
|
|
2019-04-16 10:14:07 +03:00
|
|
|
## 2 Joysticks
|
|
|
|
|
2017-04-17 17:45:00 +03:00
|
|
|
"Old" PS/2 -version of X-arcade.
|
2017-04-17 17:49:34 +03:00
|
|
|

|
2017-04-17 17:45:00 +03:00
|
|
|
|
|
|
|
```
|
2017-09-25 19:02:46 +03:00
|
|
|
D9-connector -> Arduino Pro Micro
|
2019-04-16 13:42:37 +03:00
|
|
|
6 (data) -> 3 (PD0)
|
|
|
|
5 (clk) -> 2 (PD1)
|
2017-09-25 21:25:17 +03:00
|
|
|
1 (5V) -> Vcc
|
|
|
|
2 (PS/2-mode) -> Vcc
|
|
|
|
9 (5V) -> Vcc
|
2017-04-17 17:52:21 +03:00
|
|
|
Shield -> GND
|
2017-09-25 19:02:46 +03:00
|
|
|
|
|
|
|
Or
|
|
|
|
|
2017-09-25 21:26:06 +03:00
|
|
|
PS/2-connector -> Arduino Pro Micro
|
2019-04-16 13:43:00 +03:00
|
|
|
Data (green or blue) -> 3 (PD0)
|
|
|
|
CLK (white or purple) -> 2 (PD1)
|
2017-09-25 19:02:46 +03:00
|
|
|
5V (red) -> 5V
|
|
|
|
GND (black) -> GND
|
|
|
|
|
2017-04-17 17:45:00 +03:00
|
|
|
```
|
2017-08-10 10:44:05 +03:00
|
|
|
#### Library
|
2017-04-17 17:45:00 +03:00
|
|
|
PS2KeyRaw
|
|
|
|
|
|
|
|
Arduino Pro Micro (select Arduino Leonardo from Arduino IDE).
|
|
|
|
|
|
|
|
PS/2 keyboard not needed.
|
2017-04-18 18:30:42 +03:00
|
|
|
|
|
|
|
Takes only about 10mA.
|
2019-04-16 10:14:07 +03:00
|
|
|
|
2019-04-16 10:14:25 +03:00
|
|
|
|