Difference between revisions of "Documentation/Engine/Advanced input configuration/Force feedback LUT"

From SCS Modding Wiki
Jump to navigation Jump to search
(Created page with "With game update 1.42 (ETS2 & ATS) engine got support for custom force feedback '''L'''ook '''U'''p '''T'''able, which can alternate the linearity of the output force from the...")
 
Line 1: Line 1:
 
With game update 1.42 (ETS2 & ATS) engine got support for custom force feedback '''L'''ook '''U'''p '''T'''able, which can alternate the linearity of the output force from the wheel. The intention of this is to enable users to overcome inability of some steering wheel hardware linear output and calibrate the output by their liking.
 
With game update 1.42 (ETS2 & ATS) engine got support for custom force feedback '''L'''ook '''U'''p '''T'''able, which can alternate the linearity of the output force from the wheel. The intention of this is to enable users to overcome inability of some steering wheel hardware linear output and calibrate the output by their liking.
  
To use custom used defined FFB LUT one needs to create unit file inside profile folder: ''<profile_folder>/ffb_lut.sii''
+
To use custom used defined FFB LUT one needs to create unit file inside profile folder: <code>''[[Documentation/Engine/Game_user_path|<game_user_path>]]/profiles/<profile_hash>/ffb_lut.sii''</code>
 +
 
 +
When profile with defined <code>ffb_lut.sii</code> is loaded, usage of the file will be marked with exclamation mark beside '''Overall gain''' option in the controller settings. Additionally, if file is properly loaded, it will be always used no matter which steering wheel is currently in use. So in case you are having two steering wheels and switching between them, then custom ffb LUT will be same for both of the wheels.
 +
 
 +
== File contents ==
 +
 
 +
Custom force feedback LUT is normal SiiNunit file containing just one unit:
 +
<pre>
 +
SiiNunit
 +
{
 +
input_force_feedback_lut : ffb.lut {
 +
output_values[]: 0.0
 +
output_values[]: 0.5
 +
output_values[]: 1.0
 +
}
 +
}
 +
</pre>
 +
 
 +
The <code>input_force_feedback_lut</code> unit contains only one array variable named <code>output_values</code>.

Revision as of 09:19, 16 September 2021

With game update 1.42 (ETS2 & ATS) engine got support for custom force feedback Look Up Table, which can alternate the linearity of the output force from the wheel. The intention of this is to enable users to overcome inability of some steering wheel hardware linear output and calibrate the output by their liking.

To use custom used defined FFB LUT one needs to create unit file inside profile folder: <game_user_path>/profiles/<profile_hash>/ffb_lut.sii

When profile with defined ffb_lut.sii is loaded, usage of the file will be marked with exclamation mark beside Overall gain option in the controller settings. Additionally, if file is properly loaded, it will be always used no matter which steering wheel is currently in use. So in case you are having two steering wheels and switching between them, then custom ffb LUT will be same for both of the wheels.

File contents

Custom force feedback LUT is normal SiiNunit file containing just one unit:

SiiNunit
{
input_force_feedback_lut : ffb.lut {
	output_values[]: 0.0
	output_values[]: 0.5
	output_values[]: 1.0
}
}

The input_force_feedback_lut unit contains only one array variable named output_values.