Scroll to navigation

STRUCT FF_CONDITION_(9) Input Subsystem STRUCT FF_CONDITION_(9)

NAME

struct_ff_condition_effect - defines a spring or friction force-feedback effect

SYNOPSIS

struct ff_condition_effect {
  __u16 right_saturation;
  __u16 left_saturation;
  __s16 right_coeff;
  __s16 left_coeff;
  __u16 deadband;
  __s16 center;
};  

MEMBERS

right_saturation
maximum level when joystick moved all way to the right
left_saturation
same for the left side
right_coeff
controls how fast the force grows when the joystick moves to the right
left_coeff
same for the left side
deadband
size of the dead zone, where no force is produced
center
position of the dead zone

COPYRIGHT

March 2016 Kernel Hackers Manual 3.2.