From 64b0df295b5eca6700bb11ee089917457b222040 Mon Sep 17 00:00:00 2001 From: mcgurk Date: Fri, 7 Oct 2016 18:40:47 +0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5450254..83c903a 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,10 @@ Example of NES-controller wiring: ### Linux and more than one controller with one Arduino Linux usbhid-module doesn't support out of box multiple controllers with one USB without USB-hub-features (I'm not sure about this). You have to give parameter -quirks=0x2341:0x8036:0x40 to usbhid-module. Here is example what to do with RetrOrangePi 2.5.2: -0. Make backup of /boot/boot-retro.cmd and /boot/boot.scr -1. Edit /boot/boot-retro.cmd setenv bootargs -line and add usbhid.quirks=0x2341:0x8036:0x40 to kernel parameters. -2. sudo mkimage -C none -A arm -T script -d /boot/boot-retro.cmd /boot/boot.scr +`quirks=0x2341:0x8036:0x40` to usbhid-module. Here is example how to do it with RetrOrangePi 2.5.2: +- Make backup of `/boot/boot-retro.cmd` and `/boot/boot.scr` +- Edit `/boot/boot-retro.cmd` setenv bootargs -line and add `usbhid.quirks=0x2341:0x8036:0x40` to kernel parameters. +- `sudo mkimage -C none -A arm -T script -d /boot/boot-retro.cmd /boot/boot.scr` ### Code Select your controller by commenting and uncommenting stuff from beginning of source code and give your IO-pin numbers.