Update README.md

This commit is contained in:
Jarno Lehtinen 2016-11-15 18:39:51 +02:00 committed by GitHub
parent 38279959b5
commit 5bfef4ad0a
1 changed files with 7 additions and 8 deletions

View File

@ -102,14 +102,8 @@ If you move adapter to other Windows machine, you may have to install the arduin
#### Linux
- Just connect, open your command line and test whit `jstest /dev/input/js0`.
## Tutorial
There is simple tutorial in [Tutorial](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/tree/master/Tutorial) folder. I tried to make it as clear as possible, so even if you are not familiar with coding, you may can do modifications to it (example add a button).
## Misc
### Using Arduino Leonardo in Linux with Arduino Leonardo VID/PID
Linux usbhid-module doesn't support out of box multiple controllers with one USB without USB-hub-features (I'm not sure about this, but I didn't manage to get multiple /dev/js-devices without this).
##### Notice With Linux!
Linux usbhid-module doesn't support out of box multiple controllers with one USB without USB-hub-features.
You have to give parameter
`quirks=0x2341:0x8036:0x40` (first numbers are VID and PID of Arduino) to usbhid-module. Here is example how to do it with RetrOrangePi 2.5.2:
@ -119,6 +113,11 @@ You have to give parameter
- Reboot
- Check with `cat /proc/cmdline`
## Tutorial
There is simple tutorial in [Tutorial](https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter/tree/master/Tutorial) folder. I tried to make it as clear as possible, so even if you are not familiar with coding, you may can do modifications to it (example add a button).
## Misc
### Changing VID/PID so Windows and Linux works without drivers or quirks
Linux problem with multiple controllers are solved with changing VID and PID to something that already has HID_QUIRK_MULTI_INPUT (0x40) activated in kernel.