Date: Mon, 24 Jun 2019 22:17:46 +0200 From: Stephane D'Alu <sdalu@sdalu.com> To: freebsd-usb@freebsd.org Subject: xbox one controller Message-ID: <4effaa16-d02c-5054-46c5-6d9d581f7237@sdalu.com>
next in thread | raw e-mail | index | archive | help
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 -- Stephane D'Alu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4effaa16-d02c-5054-46c5-6d9d581f7237>