Joystick Sensivity Adjusting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
(Add category)
 
Line 1: Line 1:
{| style="float: right;"
[[File:joystickaxis.jpg|thumb|right|Joystick axes]]
| [[image:joystickaxis.jpg|200px]]
Since {{GVI|arma1|1.02|size= 0.75}} you can adjust the sensivity of your joystick. There are sixteen values handling the sensitivity. These values can be found in the user's ARMAPROFILE file, in the userfolder created at game installation, in these lines :
|}
<syntaxhighlight lang="cpp">
Since the version 1.02 you can adjust the sensivity of your joystick. There are sixteen values handling the sensitivity. These values can be found in the user's ARMAPROFILE file, in the userfolder created at game installation, in these lines :
joystickSensitivity [] = {
<nowiki>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,
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};</nowiki>
};
</syntaxhighlight>




The first eight values are for the positive of the axes and the last eight values for the negative part. The numbers in this example are corresponding to the circle numbers on the picture (you cant configurate the circle 3. It is the full left/right/up/down position and makes the helicopter react as it).
The first eight values are for the positive of the axes and the last eight values for the negative part.
<nowiki>joystickSensitivity[]={
The numbers in this example are corresponding to the circle numbers on the picture (you cant configurate the circle 3.
AXIS_X_POS,AXIS_Y_POS,AXIS_Z_POS,ROT_X_POS,ROT_Y_POS,ROT_Z_POS,SLIDER_1_POS,SLIDER_2_POS,
It is the full left/right/up/down position and makes the helicopter react as it).
AXIS_X_NEG,AXIS_Y_NEG,AXIS_Z_NEG,ROT_X_NEG,ROT_Y_NEG,ROT_Z_NEG,SLIDER_1_NEG,SLIDER_2_NEG};</nowiki>
<syntaxhighlight lang="cpp">
joystickSensitivity[] = {
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
};
</syntaxhighlight>


The given values are transformed with:
The given values are transformed with:
  value = pow(raw_value,1/sensitivity)
  value = pow(raw_value, 1 / sensitivity)
 
 
{{GameCategory|arma1}}

Latest revision as of 17:31, 23 March 2024

Joystick axes

Since Logo A1 black.png1.02 you can adjust the sensivity of your joystick. There are sixteen values handling the sensitivity. These values can be found in the user's ARMAPROFILE file, in the userfolder created at game installation, in these lines :

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
};


The first eight values are for the positive of the axes and the last eight values for the negative part. The numbers in this example are corresponding to the circle numbers on the picture (you cant configurate the circle 3. It is the full left/right/up/down position and makes the helicopter react as it).

joystickSensitivity[] = {
	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
};

The given values are transformed with:

value = pow(raw_value, 1 / sensitivity)