mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-11-12 04:05:02 -05:00
31 lines
951 B
Markdown
31 lines
951 B
Markdown
|
|
Based on https://github.com/dmadison/ArduinoXInput
|
|
|
|
- Install Arduino IDE hardware:
|
|
https://github.com/dmadison/ArduinoXInput_AVR
|
|
|
|
- Install Arduino IDE library from Library manager:
|
|
XInput by David Madison
|
|
|
|
- Tester from Windows Store:
|
|
Game Controller Tester
|
|
|
|
- Doesn't go to flashing mode automatically. Connect RST to GND to get Arduino Pro Micro to programming mode.
|
|
|
|
|
|
- Arduino Pro Micro needs PB0/SS-pin to work. And it is not broken out. So no SPI for PSX-controller I guess?
|
|
https://forum.arduino.cc/index.php?topic=427828.0
|
|
- It could be used as pin 17 in code, if led could be disabled?
|
|
|
|
## New PS-library
|
|
- https://github.com/SukkoPera/PsxNewLib
|
|
- https://github.com/SukkoPera/PsxControllerShield
|
|
- https://github.com/SukkoPera/PsxControllerShield/blob/master/doc/schematics.pdf
|
|
|
|
Pin | Uno | Pro Micro
|
|
--- | --- | ---
|
|
MISO | D12 (PB4) | D14 (PB3)
|
|
MOSI | D11 (PB3) | D16 (PB2)
|
|
SCK | D13 (PB5) | D15 (PB1)
|
|
SS | D10 (PB2) | D17 (PB0/RX_LED)
|