mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2025-03-03 10:51:46 -05:00
Update README.md
This commit is contained in:
parent
38279959b5
commit
5bfef4ad0a
15
README.md
15
README.md
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user