struct_ff_envelope(9)

struct_ff_envelope9

Generic force-feedback effect envelope

Usage

struct ff_envelope {
  __u16 attack_length;
  __u16 attack_level;
  __u16 fade_length;
  __u16 fade_level;
};  

Members

attack_length

duration of the attack (ms)

attack_level

level at the beginning of the attack

fade_length

duration of fade (ms)

fade_level

level at the end of fade

Overview

The attack_level and fade_level are absolute values; when applying envelope force-feedback core will convert to positive/negative value based on polarity of the default level of the effect. Valid range for the attack and fade levels is 0x0000 - 0x7fff

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.