Date: Mon, 24 Jun 2019 22:35:21 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Stephane D'Alu <sdalu@sdalu.com>, freebsd-usb@freebsd.org Subject: Re: xbox one controller Message-ID: <77e98272-5a92-c962-58ad-c5fb5b1929da@selasky.org> In-Reply-To: <4effaa16-d02c-5054-46c5-6d9d581f7237@sdalu.com> References: <4effaa16-d02c-5054-46c5-6d9d581f7237@sdalu.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77e98272-5a92-c962-58ad-c5fb5b1929da>