Interesting! I thought I read somewhere that it sent a query to the RF 
module (for wireless controllers at least)... let me see if I can find it.

Okay, so I can't find that, but I did find this custom drive 
<https://github.com/computerquip/xpad360wr/commit/bd8ecc8c59cc2f4ac1f707aa19290de0ceed1608?diff=unified>r
 
which seems to send a query (see line 70 to 109ish)? I don't really 
understand this code (again, I'm a python feller) so I might be way off 
base with that assumption.

On Friday, February 10, 2017 at 12:32:15 AM UTC+13, Ingo Ruhnke wrote:
>
> On Thu, Feb 9, 2017 at 10:43 AM, [email protected] <javascript:> 
> <[email protected] <javascript:>> wrote: 
> > Can someone please help me understand how the driver detects which 
> > controller is connected as 1st, 2nd, etc? 
>
> It kind of doesn't, the function: 
>
> int UInput::find_jsdev_number() 
>
> Takes a quick guess by the content of /dev/input/ to set the LEDs, but 
> it's not very reliable, as it's only done once at startup and doesn't 
> react to devices disconnecting. Worth to mention that even Windows10 
> itself gets that wrong all the time and keeps the LED in the wrong 
> state. 
>
> Doing this properly would require listening to dbus for new USB 
> devices getting plugged into the computer and updating the LED 
> accordingly. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"xboxdrv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to