1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-23 01:22:22 -05:00
This commit is contained in:
coliss86 2023-11-12 23:51:01 +01:00
parent 20ac1a6281
commit b2fb907322
6 changed files with 5 additions and 12 deletions

View File

@ -1,5 +0,0 @@
## Hardware_Atari-SMS-Genesis.jpg
Two 9-pin D-sub connectors taken from Commodore 64 and pins 1,2,3,4 and 5 soldered directly to Arduino. Other pins connected with short piece of wire.
## Sony_Playstation_Multitap.jpg
Sony Playstation Multitap

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

View File

@ -11,7 +11,7 @@ ATmega32u4 can be easily changed to act as keyboard and/or mouse too. With keybo
- Atari-joysticks (supports controllers with 2-fire buttons) ²: [RetroJoystickAdapter_Atari.ino](RetroJoystickAdapter_Atari.ino), [hardware](atari)
- Sega Genesis / Megadrive controllers (3 and 6-button versions) ²: [RetroJoystickAdapter_Megadrive.ino](RetroJoystickAdapter_Megadrive.ino), [hardware](megadrive)
- Sony Playstation with Analog and Multitap 4 controllers support: [RetroJoystickAdapter_Playstation.ino](RetroJoystickAdapter_Playstation.ino), [hardware](playstation)
- Nintendo 64 controller ¹ (⚠️ 3.3V!): [RetroJoystickAdapter_N64.ino](RetroJoystickAdapter_N64.ino)
- Nintendo 64 controller ¹ (⚠️ 3.3V!): [RetroJoystickAdapter_N64.ino](RetroJoystickAdapter_N64.ino), [hardware](nes)
- Wii Nunchuck and Classic Controller (and maybe Pro, not tested) (⚠️ 3.3V!): [RetroJoystickAdapter_WiiExtension.ino](RetroJoystickAdapter_WiiExtension.ino)
- X-Arcade ²: [hardware](X-Arcade/README.md)
- AT and PS/2 Keyboard to 4 joysticks: [hardware](Keyboard_PS2)
@ -45,11 +45,6 @@ If you use Linux and want to get more than 1 controller with one Arduino, check
#### Arduino board
Starting point is ATmega32u4 based Arduino board. There is two versions of ATmega32u4, IO-logic with 5V or 3.3V. Many controllers (like basic Atari-controller) doesn't include any logic, so 5V and 3.3V versions are fine. Most of controllers with some logic needs 5V (NES, SNES, Genesis) and some rare ones needs 3.3V (N64/Gamecube) (5V is 16MHz and 3.3V 8MHz, so timings are different and 16MHz code doesn't work for N64/Gamecube with 3.3V version). Make sure that Arduino includes USB-port. There are some versions which doesn't include USB-port and then you have to add USB-connector for it. Arduino Leonardo includes ATmega32u4, but cheapest and smallest ones are named Pro Micro. Arduino Pro Micro and ATmega32u4 are good words to use when searching from Ebay etc. Cheapest starts from about $4.
Example of Arduino Pro Micro:
![Arduino Pro Micro](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/raw/master/Images/Arduino_ProMicro.jpg)
#### Computer with Arduino IDE
Arduino IDE works with Windows, OS X and Linux and ARM (beta). If you use small card computer like Rasperry Pi or Orange Pi, you can program adapter even with them (tested with Orange Pi PC and RetrOrangePi 2.0). That way you don't even have to unplug adapter from your emulator/game-platform if you want reprogram adapter.

View File

@ -3,4 +3,4 @@
## What do I need?
- You will need one [Atmega32u4](https://pt.aliexpress.com/item/New-Pro-Micro-ATmega32U4-5V-16MHz-Module-with-2-row-pin-header-For-Leonardo-best-quality/32273120508.html?spm=2114.13010608.0.0.Uv843y&detailNewVersion=&categoryId=400103) (e.g. Arduino Leonardo).
![megadrive-adapter](Hardware_Atari-SMS-Genesis.jpg)
![atari-adapter](Hardware_Atari-SMS-Genesis.jpg)

3
nes/README.md Normal file
View File

@ -0,0 +1,3 @@
## Nes
![nes-adapter](nes.png)

View File

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 295 KiB