xbox one controller
Hans Petter Selasky
hps at selasky.org
Mon Jun 24 20:36:06 UTC 2019
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
>
> Naively I tried to build a static report descriptor the same way it is
> done for the xbox360, but that's not working :(
> (A joystick/gamepad appear in the application, but no event are received)
>
> On xpad.c I see the "xbox" button need to be acknowledged, but for now
> I'm refraining from using it, so I expect (?) it's not the problem
>
> Any hint on what I've missed?
> In uhid.c where am I supposed to implement the xbox button acknowledgement?
>
> thanks
>
> [1] https://github.com/paroj/xpad/blob/master/xpad.c
> [2]
> https://raw.githubusercontent.com/lloeki/xbox_one_controller/master/xbox_one_controller/xbox_one_controller_report_descriptor.h
>
Did you try webcamd from ports?
--HPS
More information about the freebsd-usb
mailing list