Hi @Ph3arr3t
Your controller is an xbox 360 gamepad or an xbox one gamepad? The protocols are not the same.
The line you added considers your gamepad as an xbox 360 controller:
{ 0x0e6f, 0x02b8, “PDP AFTERGLOW Wired XBOX ONE”, 0, XTYPE_XBOX360 },
Double check the type of your controller.
xboxdrv is really old and it has not been updated in years. Also, if I remember correctly, to use it you need to blacklist the xpad module, which makes your modifications to xpad.c pointless.
I recommend to avoid using xboxdrv, stick to xpad.