1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-22 00:52:22 -05:00

Update README.md

This commit is contained in:
Jarno Lehtinen 2017-09-25 19:02:46 +03:00 committed by GitHub
parent 8f83a3242c
commit 54a754131b

View File

@ -4,13 +4,22 @@
![X-Arcade](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/raw/master/Images/x-arcade-dual-joystick.jpg) ![X-Arcade](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/raw/master/Images/x-arcade-dual-joystick.jpg)
``` ```
D9-connector -> Arduino D9-connector -> Arduino Pro Micro
5 -> 3 (clk) 5 -> 3 (clk)
6 -> 4 (data) 6 -> 4 (data)
1 -> Vcc (5V) 1 -> Vcc (5V)
2 -> Vcc (PS/2-mode) 2 -> Vcc (PS/2-mode)
9 -> Vcc (5V) 9 -> Vcc (5V)
Shield -> GND Shield -> GND
Or
PS/2 -> Arduino Pro Micro
Data (green or blue) -> 3
CLK (white or purple) -> 2
5V (red) -> 5V
GND (black) -> GND
``` ```
#### Library #### Library
PS2KeyRaw PS2KeyRaw