2024-09-22 06:56:20 +02:00
|
|
|
## PSX to USB HID controller converter
|
|
|
|
|
|
|
|
rp2040 (raspberry-pi pico) based device to convert PSX controllers to USB HID
|
|
|
|
gamepads.
|
|
|
|
|
|
|
|
### Components
|
|
|
|
- one rp2040 board with 5 GPIO available
|
|
|
|
- one PSX controller connector (female)
|
|
|
|
|
|
|
|
### Selected pinout
|
|
|
|
|
|
|
|
| PSX signal | rp2040 GPIO | Direction | Description |
|
2024-09-22 06:59:28 +02:00
|
|
|
| ---------- | ----------- | --------- | ----------- |
|
|
|
|
| DATA | 13 | IN | Receive ID, buttons and adc data from controller |
|
2024-09-22 06:56:20 +02:00
|
|
|
| CMD | 12 | OUT | Send read commands to controller |
|
|
|
|
| Attention | 6 | OUT | Chip select (active low) for controller |
|
|
|
|
| Clock | 5 | OUT | Clock serial communication for DATA/CMD lines |
|
|
|
|
| ACK | 3 | IN | Acknowledge command RX, active low |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
Run cmake && make. Start rp2040 in usb storage mode. Copy psx2usb.u2f to the device. Reboot.
|
|
|
|
|
|
|
|
|