libximc
2.2.1
|
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. |
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.