mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-11-29 04:22:16 -05:00
Update README.md
This commit is contained in:
parent
dc8a90b835
commit
0a4cac4732
21
README.md
21
README.md
@ -26,7 +26,6 @@ If you use Linux and want to get more than 1 controller with one Arduino, check
|
|||||||
- Get ATmega32u4 Arduino board
|
- Get ATmega32u4 Arduino board
|
||||||
- Connect joystick or gamepad to Arduino (in most situations soldering is required)
|
- Connect joystick or gamepad to Arduino (in most situations soldering is required)
|
||||||
- Install Arduino [IDE](https://www.arduino.cc/en/Main/Software)
|
- Install Arduino [IDE](https://www.arduino.cc/en/Main/Software)
|
||||||
- Edit boards.txt
|
|
||||||
- Install Joystick [library](https://github.com/MHeironimus/ArduinoJoystickLibrary) (if needed)
|
- Install Joystick [library](https://github.com/MHeironimus/ArduinoJoystickLibrary) (if needed)
|
||||||
- Open sourcecode to Arduino IDE and select controller by commenting and uncommenting and edit pin-numbers (if needed)
|
- Open sourcecode to Arduino IDE and select controller by commenting and uncommenting and edit pin-numbers (if needed)
|
||||||
- Upload
|
- Upload
|
||||||
@ -62,16 +61,6 @@ Example of NES-controller wiring:
|
|||||||
|
|
||||||
- Download and install Arduino IDE: https://www.arduino.cc/en/Main/Software
|
- Download and install Arduino IDE: https://www.arduino.cc/en/Main/Software
|
||||||
|
|
||||||
- Edit `C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt` or in linux `arduino-x.x.xx/hardware/arduino/avr/boards.txt` (close Arduino IDE before editing):
|
|
||||||
```
|
|
||||||
# leonardo.build.vid=0x2341
|
|
||||||
# leonardo.build.pid=0x8036
|
|
||||||
leonardo.build.vid=0x8282
|
|
||||||
leonardo.build.pid=0x3201
|
|
||||||
# leonardo.build.usb_product="Arduino Leonardo"
|
|
||||||
leonardo.build.usb_product="Retro Joystick Adapter"
|
|
||||||
```
|
|
||||||
|
|
||||||
- `Tools->Board->Arduino Leonardo`
|
- `Tools->Board->Arduino Leonardo`
|
||||||
|
|
||||||
In Arduino IDE you have to select board. In my case some reason "Arduino Leonardo" selections works better than "Arduino/Genuino Micro". With Leonardo-setting RX and TX leds are normally off and blinks when data is transfered to/from USB. With Micro-setting LED's are normally on and they blinks to off when data is transferring. Connect now your board ATmega32u4 through USB, the RX and TX leds should blink (if not, try another USB port).
|
In Arduino IDE you have to select board. In my case some reason "Arduino Leonardo" selections works better than "Arduino/Genuino Micro". With Leonardo-setting RX and TX leds are normally off and blinks when data is transfered to/from USB. With Micro-setting LED's are normally on and they blinks to off when data is transferring. Connect now your board ATmega32u4 through USB, the RX and TX leds should blink (if not, try another USB port).
|
||||||
@ -115,6 +104,16 @@ There is simple tutorial in [Tutorial](https://github.com/mcgurk/Arduino-USB-HID
|
|||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
|
|
||||||
|
- Edit `C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt` or in linux `arduino-x.x.xx/hardware/arduino/avr/boards.txt` (close Arduino IDE before editing):
|
||||||
|
```
|
||||||
|
# leonardo.build.vid=0x2341
|
||||||
|
# leonardo.build.pid=0x8036
|
||||||
|
leonardo.build.vid=0x8282
|
||||||
|
leonardo.build.pid=0x3201
|
||||||
|
# leonardo.build.usb_product="Arduino Leonardo"
|
||||||
|
leonardo.build.usb_product="Retro Joystick Adapter"
|
||||||
|
```
|
||||||
|
|
||||||
### Using Arduino Leonardo in Windows with Arduino Leonardo VID/PID
|
### Using Arduino Leonardo in Windows with Arduino Leonardo VID/PID
|
||||||
On any other MS Windows platforms you may have to install the arduino drivers. To have the last updated ones, just download the file `Windows ZIP file for non admin install` from the page https://www.arduino.cc/en/Main/Software. After the download, unzip the folder. Go to the `Computer` > right click > `Manage > Unknown devices` > right click > `Update software controller > Find on my computer > Search` > and try to find the folder `\arduino-1.6.xx\drivers` inside the folder you unziped before. Click `Next` and Windows should install the driver. Arduino would apper as the name `Arduino Leonardo` inside `Ports (COM and LPT)` with an associated COM port (like `COM9` for example).
|
On any other MS Windows platforms you may have to install the arduino drivers. To have the last updated ones, just download the file `Windows ZIP file for non admin install` from the page https://www.arduino.cc/en/Main/Software. After the download, unzip the folder. Go to the `Computer` > right click > `Manage > Unknown devices` > right click > `Update software controller > Find on my computer > Search` > and try to find the folder `\arduino-1.6.xx\drivers` inside the folder you unziped before. Click `Next` and Windows should install the driver. Arduino would apper as the name `Arduino Leonardo` inside `Ports (COM and LPT)` with an associated COM port (like `COM9` for example).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user