Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ff_envelope Struct Reference

#include <input.h>

Data Fields

__u16 attack_length
 
__u16 attack_level
 
__u16 fade_length
 
__u16 fade_level
 

Detailed Description

struct ff_envelope - generic force-feedback effect envelope : duration of the attack (ms) : level at the beginning of the attack : duration of fade (ms) : level at the end of fade

The and 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

Definition at line 978 of file input.h.

Field Documentation

__u16 attack_length

Definition at line 979 of file input.h.

__u16 attack_level

Definition at line 980 of file input.h.

__u16 fade_length

Definition at line 981 of file input.h.

__u16 fade_level

Definition at line 982 of file input.h.


The documentation for this struct was generated from the following file: