Pavel Rojtberg
Pavel Rojtberg
it probably needs some specific init packet: https://github.com/paroj/xpad/blob/845a355b9b3c4c56a21251c1aab5f0dbe1804462/xpad.c#L581-L602 however as it fakes its usb-id, we cannot identify it in the driver and are out of luck here.
I would rather prefer to keep a single installation method. What is the issue with using DKMS on Gentoo?
it would rather help to see how you changed the code
the error message means that it could not properly initialize the controller. you could try reverting this f3cf5f3981be72f541aaddc6b9e81781e88c21f7 change, as it modified the initialization for xpadone.
yes, probably the xpad initialization packet is different to what window sends. (incomplete and/ or different values) Although the official gamepad works, the Rock Candy Gamepad seems to be more...
working initialization sequence https://github.com/Fenisu/xbox/commit/6c4842e84ffbee3d2f5956ee5f7f4d7eae13b50c
I have implemented the extended initialization sequence in the [xone2015 branch](https://github.com/paroj/xpad/tree/xone2015). Can you test and report back?
this is strange as the steamos xpad still uses only one packet to initialize the controller which did not work for you here. Also why do you set `MAP_TRIGGERS_TO_BUTTONS`?
I see - the problem are actually the games that were written with only the xbox360 controller in mind. However the kernel driver is the wrong place to remap buttons;...
it is correctly handled https://github.com/paroj/xpad/blob/2c087f90bb85799df02400f6f10ccdca70e02c6e/xpad.c#L154