Joystick sensitivity settings

From Bohemia Interactive Community
Revision as of 06:10, 1 January 2021 by Lou Montana (talk | contribs) (Add merge request)
Jump to navigation Jump to search

Template:merge You can setup sensitivity in .cfg file by:

joystickSensitivity[]=
{0.500000,0.500000,0.500000,0.500000,0.500000,0.500000,1.000000,1.000000,
0.500000,0.500000,0.500000,0.500000,0.500000,0.500000,1.000000,1.000000};

Number are sensitivity for each of the folowing inputs:

  AXIS_X AXIS_Y AXIS_Z   ROT_X ROT_Y ROT_Z   SLIDER_1 SLIDER_2

First eight values are for positive part of axis, last eigtht for the negative one:

  AXIS_X_POS AXIS_Y_POS AXIS_Z_POS ROT_X_POS ROT_Y_POS ROT_Z_POS SLIDER_1_POS SLIDER_2_POS
  AXIS_X_NEG AXIS_Y_NEG AXIS_Z_NEG ROT_X_NEG ROT_Y_NEG ROT_Z_NEG SLIDER_1_NEG SLIDER_2_NEG

Value is transformed as:

  value = pow(raw_value,1/sensitivity).