diff --git a/README.md b/README.md index 9ed4d28..00cfe0a 100644 --- a/README.md +++ b/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.