Vocabulary
linux.input-events.ffi

Definition


STRUCT: ff_effect
{ type __u16 initial: 0 } { id __s16 initial: 0 }
{ direction __u16 initial: 0 } {
trigger ff_trigger initial:
S{ ff_trigger { button 0 } { interval 0 } }
} {
replay ff_replay initial:
S{ ff_replay { length 0 } { delay 0 } }
} {
union ff_dummy initial: S{ ff_dummy
{ constant
S{ ff_constant_effect
{ level 0 }
{ envelope
S{ ff_envelope
{ attack_length 0 }
{ attack_level 0 }
{ fade_length 0 }
{ fade_level 0 }
}
}
}
}
{ ramp
S{ ff_ramp_effect
{ start_level 0 }
{ end_level 0 }
{ envelope
S{ ff_envelope
{ attack_length 0 }
{ attack_level 0 }
{ fade_length 0 }
{ fade_level 0 }
}
}
}
}
{ periodic
S{ ff_periodic_effect
{ waveform 0 }
{ period 0 }
{ magnitude 0 }
{ offset 0 }
{ phase 0 }
{ envelope
S{ ff_envelope
{ attack_length 0 }
{ attack_level 0 }
{ fade_length 0 }
{ fade_level 0 }
}
}
{ custom_len 0 }
{ custom_data f }
}
}
{ condition
ff_condition_effect-array{
S{ ff_condition_effect
{ right_saturation 0 }
{ left_saturation 0 }
{ right_coeff 0 }
{ left_coeff 0 }
{ deadband 0 }
{ center 0 }
}
S{ ff_condition_effect
{ right_saturation 0 }
{ left_saturation 0 }
{ right_coeff 0 }
{ left_coeff 0 }
{ deadband 0 }
{ center 0 }
}
}
}
{ rumble
S{ ff_rumble_effect
{ strong_magnitude 0 }
{ weak_magnitude 0 }
}
}
}
} ;


Methods