Adapt various input devices to various output devices. https://github.com/OpenRetroPad/OpenRetroPad
Go to file
Travis Burtrum 5f7b8ab5d4 Document pinout, refactor SnesNes, finish DebugGamepad 2020-12-27 20:23:58 -05:00
hwids Customize USB vid/pid/manufacturer/product 2020-12-21 21:29:15 -05:00
images Pinout images 2020-12-27 20:23:46 -05:00
include Initial commit 2020-12-04 20:56:25 -05:00
lib Initial commit 2020-12-04 20:56:25 -05:00
src Document pinout, refactor SnesNes, finish DebugGamepad 2020-12-27 20:23:58 -05:00
test Initial commit 2020-12-04 20:56:25 -05:00
.clang-format Initial commit 2020-12-04 20:56:25 -05:00
.gitignore Initial commit 2020-12-04 20:56:25 -05:00
CMakeLists.txt Initial commit 2020-12-04 20:56:25 -05:00
code-format.sh Initial commit 2020-12-04 20:56:25 -05:00
license.md Add readme and license 2020-12-20 01:25:16 -05:00
platformio.ini Add Nintendo Gamecube input support 2020-12-22 01:45:58 -05:00
readme.md Document pinout, refactor SnesNes, finish DebugGamepad 2020-12-27 20:23:58 -05:00
sdkconfig.defaults Initial commit 2020-12-04 20:56:25 -05:00

readme.md

OpenRetroPad

Adapt various input devices to various output devices.

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

Build using PlatformIO 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
  • $input: snes, genesis, psx, n64, gc, radio, debug
  • $output: radio, usb, usbradio, switchusb, bt, debug
  • 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

Wiring

(quick plea: if you are good at drawing diagrams, please help!)

DB-25 Pinout

DB-25 Pins Arduino Pro Micro GPIO ESP32 GPIO RADIO SNES PSX
1 1 - - -
2 2 - LATCH DATA
3 3 - CLOCK CMD
4 4 - - ATT
5 5 - - CLK
6 6 - - -
7 7 CE - -
8 8 CSN - -
9 9 - - -
10 10 - - -
11 0 - - -
12 - - - -
13 - - - -
14 14 MISO - -
15 15 SCLK - -
16 16 MOSI - -
17 - - - -
18 18 - DATA1 -
19 19 - DATA2 -
20 20 - DATA3 -
21 21 - DATA4 -
22 - - - -
23 - 3.3V VCC - -
24 5V VCC 5V VCC 5V VCC 5V VCC
25 GND GND GND -

Code and/or inspiration was (or will be) taken from these places, in no particular order: