2.1 KiB
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?
PsxNewLib
- https://github.com/SukkoPera/PsxNewLib
- https://github.com/SukkoPera/PsxControllerShield
- https://github.com/SukkoPera/PsxControllerShield/blob/master/doc/schematics.pdf
- (my green dualshock analog controller: SCPH-1200)
- https://store.curiousinventor.com/guides/PS2
- https://github.com/SukkoPera/PsxNewLib/issues/12
PSX | SPI | Uno | Pro Micro | notes --- | --- | --- | --- 1 DATA (brown ) | MISO → | D12 (PB4) | D14 (PB3) | 2 CMD (orange ) | MOSI ← | D11 (PB3) | D16 (PB2) | 3 Vibration power (7.2-9V) (grey ) | | | | 4 GND (black ) | | GND | GND | 5 VCC (3.3V) (red ) | | VCC | VCC | 6 ATT (yellow ) | SS ← | D10 (PB2) | D10 | (pro micro: SS would be D17 (PB0/RX_LED), but there is no pin D17) 7 CLK (blue ) | SCK ← | D13 (PB5) | D15 (PB1) | 8 unknown (white ) | | | | 9 ACK (green ) | | | | (when this is needed?) | | | | | 1 VCC (3.3V) | | | | 2 SCL | | A5 (PC5) | D3 (PD0) | 3 Detect device (3.3V) | - | - | - | 4 NC | | | | 5 SDA | | A4 (PC4) | D2 (PD1) | 6 GND | | | |