berarma / new-lg4ff

Experimental Logitech force feedback module for Linux
GNU General Public License v2.0
299 stars 18 forks source link

[Request] Higher than 100% gain #29

Open kevinlekiller opened 4 years ago

kevinlekiller commented 4 years ago

On the Windows driver, it's possible to go higher than 100% (I believe 150% is the max).

Setting the gain to somewhere between 105 and 112% on the G25/G27 reduces the FFB dead zone when the wheel is center, they added the dead zone to prevent the 2 motors from fighting each other, causing a type of reverb effect, but at ~110% it doesn't seem to happen while reducing the dead zone to almost nothing.

You can read more about the issue here: https://www.racedepartment.com/threads/bad-deadzone-on-g27.145463/

berarma commented 4 years ago

I'm not sure about this. It seems most FFB settings are migrating from drivers to the apps on Windows.

The game in the link has settings to set the FFB above 100% and a minimum force. In case it's needed for other games, I'm not sure what would be best, having up to 150% gain or having a minimum force setting.

Let me think about it and maybe collect some comments.

kevinlekiller commented 4 years ago

I think a min force setting would be better, something like this?

echo $((65535/10)) | sudo tee /sys/bus/hid/drivers/logitech/XXXX:XXXX:XXXX.XXXX/min_gain

if (the_force_the_game_wants_to_send_to_the_wheel <= min_gain) { the_force_the_game_wants_to_send_to_the_wheel = min_gain; }

I did notice some games have a min force setting, like Assetto Corsa for example which is nice, although not all have it unfortunately, especially ones that are not getting updated anymore.

berarma commented 4 years ago

That's just one way to do it. This way any force detail below the threshold would be lost. Perhaps a better better way to do it would be to compress the force levels up.

berarma commented 1 year ago

I'm finally thinking I should add min_torque and "higher than 100% gain" settings. I'm used to play with these settings in rFactor 2 and they can help tune Logitech wheels to get more out of them. I don't want to crop the output but rather scale the input to the desired output range. Suggestions are welcome.