Grumbel/xboxdrv — Issue #15: force-feedback lands on wrong /dev/input/eventX
Author: Grumbel
Created: 2012-01-05 17:57:39+00:00
State: open

Starting xboxdrv with:

./xboxdrv --force-feedback

will lead to two event devices to be created, one with the FF one with the regular events. This can be worked around with:

./xboxdrv --force-feedback --no-extra-devices

The problem is caused by ControllerSlotOptions::get_ff_device() returning a hardcoded 0, which is DEVICEID_GENERIC, while regular events get send to DEVICEID_AUTO, which turns into DEVICEID_JOYSTICK.