libximc  2.13.1
Data Fields
joystick_settings_t Struct Reference

Joystick settings. More...

Data Fields

unsigned int JoyLowEnd
 Joystick lower end position.
unsigned int JoyCenter
 Joystick center position.
unsigned int JoyHighEnd
 Joystick higher end position.
unsigned int ExpFactor
 Exponential nonlinearity factor.
unsigned int DeadZone
 Joystick dead zone.
unsigned int JoyFlags
 Joystick flags.

Detailed Description

Joystick settings.

This structure contains joystick parameters. If joystick position is outside DeadZone limits from the central position a movement with speed, defined by the joystick DeadZone edge to 100% deviation, begins. Joystick positions inside DeadZone limits correspond to zero speed (soft stop of motion) and positions beyond Low and High limits correspond MaxSpeed [i] or -MaxSpeed [i] (see command SCTL), where i = 0 by default and can be changed with left/right buttons (see command SCTL). If next speed in list is zero (both integer and microstep parts), the button press is ignored. First speed in list shouldn't be zero. The relationship between the deviation and the rate is exponential, allowing no switching speed combine high mobility and accuracy.

See Also
set_joystick_settings
get_joystick_settings
get_joystick_settings, set_joystick_settings

Field Documentation

unsigned int DeadZone

Joystick dead zone.

unsigned int ExpFactor

Exponential nonlinearity factor.

unsigned int JoyCenter

Joystick center position.

Range: 0..10000.

unsigned int JoyFlags
unsigned int JoyHighEnd

Joystick higher end position.

Range: 0..10000.

unsigned int JoyLowEnd

Joystick lower end position.

Range: 0..10000.