xbox one controller

Stephane D'Alu sdalu at sdalu.com
Mon Jun 24 20:17:49 UTC 2019


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


More information about the freebsd-usb mailing list