Difference between revisions of "Axis translation parameters"

From GIMX
Jump to: navigation, search
(DZ merged)
Line 12: Line 12:
  
 
<!--T:3-->
 
<!--T:3-->
The dead zone parameter allows to shift the stick positions away from the stick center.<br />
+
'''The dead zone parameter allows to shift the stick positions away from the stick center. Lower the DZ (Dead zone) is, larger mouse moves need to be done in order to aim.'''
 +
 
 
This allows to skip all the stick positions around the stick center that do not generate in-game movement (these positions are called the dead zone of the stick).<br />
 
This allows to skip all the stick positions around the stick center that do not generate in-game movement (these positions are called the dead zone of the stick).<br />
 
If lowest input motion do not generate enough movement, increase the dead zone parameter.
 
If lowest input motion do not generate enough movement, increase the dead zone parameter.
 +
 +
When you calibrate the dead zone you want the aim to move as slowly and smoothly as possible (no jitters or random jumps)
 +
The aim should start moving by itself when you increase the dead zone using the mouse wheel, so all you need to do is fine tune it until the speed of the aim is slow and fluid.
 +
 +
Remember to go out of dead zone calibration to test the results of your adjustments. If the aim lags in calibration mode you'll need to save your configuration and run the emulator in normal Grab mode to test any changes you've made.
 +
 +
'''''Tip''''': ''To get rid of potential jerky aim when aiming slowly you need to increase DZ slightly above the game setting. So if you find through dead zone calibration that the aim starts moving by itself at '''22''', increase it to '''25'''-'''30''' instead.''
  
 
=Dead zone shape= <!--T:4-->
 
=Dead zone shape= <!--T:4-->

Revision as of 10:29, 13 October 2017

Work in progress...
Give simple use cases such as: how to bind a joystick axis to an axis
A few things could be taken in this old forum tutorial: https://forum.gimx.fr/viewtopic.php?f=4&t=39#6
Other languages:
Deutsch • ‎English • ‎français

This page explains the purpose of each axis translation parameter.

Dead zone

The dead zone parameter allows to shift the stick positions away from the stick center. Lower the DZ (Dead zone) is, larger mouse moves need to be done in order to aim.

This allows to skip all the stick positions around the stick center that do not generate in-game movement (these positions are called the dead zone of the stick).
If lowest input motion do not generate enough movement, increase the dead zone parameter.

When you calibrate the dead zone you want the aim to move as slowly and smoothly as possible (no jitters or random jumps) The aim should start moving by itself when you increase the dead zone using the mouse wheel, so all you need to do is fine tune it until the speed of the aim is slow and fluid.

Remember to go out of dead zone calibration to test the results of your adjustments. If the aim lags in calibration mode you'll need to save your configuration and run the emulator in normal Grab mode to test any changes you've made.

Tip: To get rid of potential jerky aim when aiming slowly you need to increase DZ slightly above the game setting. So if you find through dead zone calibration that the aim starts moving by itself at 22, increase it to 25-30 instead.

Dead zone shape

The dead zone shape can be set to either rectangle or circle.
Other shapes will be added in a future version.

Sensitivity

The sensitivity parameter is nothing more than a multiplier: input motion is multiplied so as to scale to the output motion range.
Increase it if the movement is too slow and decrease it if the movement is too fast.
It can be a negative value, so as to reverse the motion direction.
Remember that the output motion range is limited (the stick has a max position).

To map a joystick axis to a stick axis, use a value of 128/32768 (about 0.004).
To map a joystick axis to a button axis, use a value of 256/32768 (about 0.008).

X/Y ratio

The x/y ratio allows to change the vertical sensitivity independently from the horizontal sensitivity.

 vertival_sens = sens * xy_ratio

Acceleration

The acceleration parameter allows to change the in-game acceleration.
Values higher than 1 increase the effective acceleration, whereas values lower that 1 decrease it.
FPS games generally have a positive acceleration, which means there is a value in the 0..1 range that will cancel it (at least for games that use simple look mechanics).

Buffer size and filter

These parameters are specific to the mouse smoothing, which is detailed on the Mouse calibration page.