Is possible wine convert Constant effect to Periodic?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
zalok
Newbie
Newbie
Posts: 3
Joined: Fri Jan 26, 2018 2:27 am

Is possible wine convert Constant effect to Periodic?

Post by zalok »

Most games in game support only force feedback Constant Effect, but most joystick support only periodict effect, my device appear that constant not support, then in wine games that use constant effect not work:
fftest /dev/input/event13
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES

Device /dev/input/event13 opened
Features:
* Absolute axes: X, Y, Z, RZ, Hat 0 X, Hat 0 Y,
[27 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)
Enter effect number, -1 to exit

Is possible a system that convert constant effect to Periodic?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Is possible wine convert Constant effect to Periodic?

Post by jkfloris »

I'm not able to test the force feedback, but you can set the force feedback to periodic with x360ce
https://www.x360ce.com/
https://appdb.winehq.org/objectManager. ... gId=100642
zalok
Newbie
Newbie
Posts: 3
Joined: Fri Jan 26, 2018 2:27 am

Re: Is possible wine convert Constant effect to Periodic?

Post by zalok »

jkfloris wrote:I'm not able to test the force feedback, but you can set the force feedback to periodic with x360ce
https://www.x360ce.com/
https://appdb.winehq.org/objectManager. ... gId=100642
x360ce not work here, i try install dotnet45 in winetricks for run x360ce, but dotnet40 is instaled instead, x360ce not work for me.
Locked