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

NAME

6       struct_ff_envelope - generic force-feedback effect envelope
7

SYNOPSIS

9       struct ff_envelope {
10         __u16 attack_length;
11         __u16 attack_level;
12         __u16 fade_length;
13         __u16 fade_level;
14       };
15

MEMBERS

17       attack_length
18           duration of the attack (ms)
19
20       attack_level
21           level at the beginning of the attack
22
23       fade_length
24           duration of fade (ms)
25
26       fade_level
27           level at the end of fade
28

DESCRIPTION

30       The attack_level and fade_level are absolute values; when applying
31       envelope force-feedback core will convert to positive/negative value
32       based on polarity of the default level of the effect. Valid range for
33       the attack and fade levels is 0x0000 - 0x7fff
34
36Kernel Hackers Manual 2.6.       November 2011           STRUCT FF_ENVELOPE(9)
Impressum