2020-12-20 01:25:16 -05:00
|
|
|
OpenRetroPad
|
|
|
|
------------
|
|
|
|
|
|
|
|
Adapt various input devices to various output devices.
|
|
|
|
|
2020-12-22 01:45:58 -05:00
|
|
|
Currently supported inputs: SNES/NES, Sega Genesis/Megadrive/Atari, Playstation (and PS2) Digital and Dual shock, Nintendo 64, Nintendo Gamecube
|
|
|
|
|
|
|
|
Currently supported outputs: bluetooth-hid gamepad, usb-hid gamepad, nintendo switch usb gamepad, wireless usb-hid gamepad over radio
|
|
|
|
|
2020-12-20 01:25:16 -05:00
|
|
|
Build using [PlatformIO](https://platformio.org/) using `pio run` or `pio run -e $board-$input-$output` for a specific target/env.
|
|
|
|
|
|
|
|
env's are laid out like `$board-$input-$output`
|
|
|
|
supported values:
|
|
|
|
* $board: micro, esp32
|
2020-12-22 01:45:58 -05:00
|
|
|
* $input: snes, genesis, psx, n64, gc, radio, debug
|
2020-12-21 03:48:49 -05:00
|
|
|
* $output: radio, usb, usbradio, switchusb, bt, debug
|
2020-12-20 01:25:16 -05:00
|
|
|
* please note not all boards are compatible with all inputs/outputs, for example esp32 can only do bt, micro can only do radio or usb
|
|
|
|
|
2020-12-22 21:10:28 -05:00
|
|
|
Wiring
|
|
|
|
------
|
|
|
|
|
|
|
|
(quick plea: if you are good at drawing diagrams, please help!)
|
|
|
|
|
|
|
|
![DB-25 Pinout](images/db25pins.jpg)
|
|
|
|
|
|
|
|
| DB-25 Male Pins | Arduino Pro Micro GPIO | ESP32 GPIO |
|
|
|
|
|--------------|---------------------------------------------|-----------------------------------------|
|
|
|
|
| 1 | 1 | |
|
|
|
|
| 2 | 2 | |
|
|
|
|
| 3 | 3 | |
|
|
|
|
| 4 | 4 | |
|
|
|
|
| 5 | 5 | |
|
|
|
|
| 6 | 6 | |
|
|
|
|
| 7 | 7 | |
|
|
|
|
| 8 | 8 | |
|
|
|
|
| 9 | 9 | |
|
|
|
|
| 10 | 10 | |
|
|
|
|
| 11 | 11 | |
|
|
|
|
| 12 | - | |
|
|
|
|
| 13 | - | |
|
|
|
|
| 14 | 14 | |
|
|
|
|
| 15 | 15 | |
|
|
|
|
| 16 | 16 | |
|
|
|
|
| 17 | - | |
|
|
|
|
| 18 | 18 | |
|
|
|
|
| 19 | 19 | |
|
|
|
|
| 20 | 20 | |
|
|
|
|
| 21 | 21 | |
|
|
|
|
| 22 | - | |
|
|
|
|
| 23 | 3.3V VCC | |
|
|
|
|
| 24 | 5V VCC | |
|
|
|
|
| 25 | GND | |
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-12-20 01:25:16 -05:00
|
|
|
Credits / Links
|
|
|
|
---------------
|
|
|
|
|
|
|
|
Code and/or inspiration was (or will be) taken from these places, in no particular order:
|
|
|
|
|
|
|
|
* [ESP32-BLE-Gamepad](https://github.com/lemmingDev/ESP32-BLE-Gamepad)
|
|
|
|
* [DaemonBite-Retro-Controllers-USB](https://github.com/MickGyver/DaemonBite-Retro-Controllers-USB)
|
|
|
|
* [Arduino-USB-HID-RetroJoystickAdapter](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter)
|
|
|
|
* [BlueCubeMod](https://github.com/NathanReeves/BlueCubeMod)
|
2020-12-21 03:48:49 -05:00
|
|
|
* [OpenSwitchPad](https://github.com/agustincampeny/OpenSwitchPad)
|
2020-12-20 01:25:16 -05:00
|
|
|
* [arduino-n64-controller-library](https://github.com/pothos/arduino-n64-controller-library)
|
|
|
|
* [N64toiQue](https://github.com/mnzlmstr/N64toiQue)
|
|
|
|
* [dreamcast_usb](https://github.com/raphnet/dreamcast_usb)
|
|
|
|
* [SNES-NRF24](https://github.com/baldengineer/SNES-NRF24)
|
2020-12-21 03:48:49 -05:00
|
|
|
* https://github.com/NicoHood/Nintendo
|
2020-12-21 15:09:49 -05:00
|
|
|
* https://github.com/darthcloud/BlueRetro
|
|
|
|
* https://github.com/raphnet/gc_n64_usb-v3
|