STRUCT FF_CONDITION_

Section: Input Subsystem (9)
Updated: February 2011
Index Return to Main Contents
 

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