xpad icon indicating copy to clipboard operation
xpad copied to clipboard

Force Feedback "Error: Invalid argument"

Open drice opened this issue 7 years ago • 0 comments

I'm seeing "Error: Invalid argument" for some of the fields when I run fftest. Is this expected?

Ultimately I am trying to get Force Feedback working for this controller with Parsec on a Raspberry Pi. Everything else works great, but I haven't been able to get vibrate to work. I'm not sure if this is related to the error in fftest or an issue with Parsec.

HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES

Device /dev/input/by-id/usb-Performance_Designed_Products_Afterglow_Wired_Controller_for_Xbox_One_0000E269E61334A0-event-joystick opened
Features:
  * Absolute axes: X, Y, Z, RX, RY, RZ, Hat 0 X, Hat 0 Y, 
    [3F 00 03 00 00 00 00 00 ]
  * Relative axes: 
    [00 00 ]
  * Force feedback effects types: Periodic, Rumble, Gain, 
    Force feedback periodic effects: Square, Triangle, Sine, 
    [00 00 00 00 00 00 00 00 00 00 03 07 01 00 00 00 ]
  * Number of simultaneous effects: 16

Setting master gain to 75% ... OK
Uploading effect #0 (Periodic sinusoidal) ... OK (id 0)
Uploading effect #1 (Constant) ... Error: Invalid argument
Uploading effect #2 (Spring) ... Error: Invalid argument
Uploading effect #3 (Damper) ... Error: Invalid argument
Uploading effect #4 (Strong rumble, with heavy motor) ... OK (id 1)
Uploading effect #5 (Weak rumble, with light motor) ... OK (id 2)```

drice avatar Sep 30 '18 19:09 drice