2017-04-17 10:45:00 -04:00
|
|
|
# Arduino_X-Arcade_USB-adapter
|
|
|
|
|
2019-04-16 03:14:25 -04:00
|
|
|
## Keyboard
|
|
|
|
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/tree/master/PS2_Soarer_Converter
|
|
|
|
|
2019-04-16 03:14:07 -04:00
|
|
|
## 2 Joysticks
|
|
|
|
|
2017-04-17 10:45:00 -04:00
|
|
|
"Old" PS/2 -version of X-arcade.
|
2017-04-17 10:49:34 -04:00
|
|
|
![X-Arcade](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/raw/master/Images/x-arcade-dual-joystick.jpg)
|
2017-04-17 10:45:00 -04:00
|
|
|
|
|
|
|
```
|
2017-09-25 12:02:46 -04:00
|
|
|
D9-connector -> Arduino Pro Micro
|
2017-09-25 14:25:17 -04:00
|
|
|
6 (data) -> 3
|
|
|
|
5 (clk) -> 2
|
|
|
|
1 (5V) -> Vcc
|
|
|
|
2 (PS/2-mode) -> Vcc
|
|
|
|
9 (5V) -> Vcc
|
2017-04-17 10:52:21 -04:00
|
|
|
Shield -> GND
|
2017-09-25 12:02:46 -04:00
|
|
|
|
|
|
|
Or
|
|
|
|
|
2017-09-25 14:26:06 -04:00
|
|
|
PS/2-connector -> Arduino Pro Micro
|
2017-09-25 12:02:46 -04:00
|
|
|
Data (green or blue) -> 3
|
|
|
|
CLK (white or purple) -> 2
|
|
|
|
5V (red) -> 5V
|
|
|
|
GND (black) -> GND
|
|
|
|
|
2017-04-17 10:45:00 -04:00
|
|
|
```
|
2017-08-10 03:44:05 -04:00
|
|
|
#### Library
|
2017-04-17 10:45:00 -04:00
|
|
|
PS2KeyRaw
|
|
|
|
|
|
|
|
Arduino Pro Micro (select Arduino Leonardo from Arduino IDE).
|
|
|
|
|
|
|
|
PS/2 keyboard not needed.
|
2017-04-18 11:30:42 -04:00
|
|
|
|
|
|
|
Takes only about 10mA.
|
2019-04-16 03:14:07 -04:00
|
|
|
|
2019-04-16 03:14:25 -04:00
|
|
|
|