xbox one controller
Hans Petter Selasky
hps at selasky.org
Mon Jun 24 21:38:21 UTC 2019
On 2019-06-24 23:27, Stephane D'Alu wrote:
> On 6/24/19 10:35 PM, Hans Petter Selasky wrote:
>> On 2019-06-24 22:17, Stephane D'Alu wrote:
>>> I would like to have support for the xbox one S controller,
>>> so I took a look at freebsd uhid.c and linux xpad.c [1] as well as a
>>> report descriptor for xbox one [2] found on github
>>> [...]
>>
>> Did you try webcamd from ports?
>>
>
> I thought it was only for webcam :(
>
> I just tried to use it
> - cuse is loaded
> - webcamd_enabled="YES" is set in rc.conf
>
> usbconfig list:
> ugen0.2: <Microsoft Controller> at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON (500mA)
>
> webcamd -l:
> webcamd [-d ugen0.2] -N Microsoft-Controller -S
> 3032363030323034343832383434 -M 0
>
>
> No instance of webcamd for the xbox one s controller is running, so I
> tried:
> webcamd -d ugen0.2
> webcamd -N Microsoft-Controller -S 3032363030323034343832383434 -M 0
>
>
> I got the message: "webcamd: Cannot find USB device"
>
You can grep the webcamd sources for idProduct and idVendor . Maybe you
need some config option set for that.
--HPS
More information about the freebsd-usb
mailing list