1STRUCT FF_CONDITION_(9)         Input Subsystem        STRUCT FF_CONDITION_(9)
2
3
4

NAME

6       struct_ff_condition_effect - defines a spring or friction
7       force-feedback effect
8

SYNOPSIS

10       struct ff_condition_effect {
11         __u16 right_saturation;
12         __u16 left_saturation;
13         __s16 right_coeff;
14         __s16 left_coeff;
15         __u16 deadband;
16         __s16 center;
17       };
18

MEMBERS

20       right_saturation
21           maximum level when joystick moved all way to the right
22
23       left_saturation
24           same for the left side
25
26       right_coeff
27           controls how fast the force grows when the joystick moves to the
28           right
29
30       left_coeff
31           same for the left side
32
33       deadband
34           size of the dead zone, where no force is produced
35
36       center
37           position of the dead zone
38
40Kernel Hackers Manual 2.6.         June 2019           STRUCT FF_CONDITION_(9)
Impressum