Paramètres de translation d'axe

From GIMX

Revision as of 11:37, 7 October 2014 by Matlo (talk | contribs) (Created page with "=Forme de la zone morte=")

Jump to: navigation, search
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: http://forum.gimx.fr/viewtopic.php?f=4&t=39#6


Cette page explique le but de chaque paramètre de translation.

Zone Morte (DZ)

Ce paramètre permet de d'éloigner les positions du stick du centre.
Ceci permet de neutraliser toutes les positions du stick autour du centre qui ne génèrent pas de mouvement dans le jeu (ces positions sont appelées la zone morte (ou dead zone) du stick).
Si les plus petits déplacements ne génèrent pas assez de mouvement, augmentez ce paramètre.

Forme de la zone morte

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.
In-game acceleration is generally positive, 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.