<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct ff_condition_effect</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="ch08.html" title="Chapter 8. Input Subsystem" /><link rel="prev" href="re698.html" title="struct ff_ramp_effect" /><link rel="next" href="re700.html" title="struct ff_periodic_effect" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct ff_condition_effect</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re698.html">Prev</a> </td><th width="60%" align="center">Chapter 8. Input Subsystem</th><td width="20%" align="right"> <a accesskey="n" href="re700.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct ff_condition_effect"><a id="API-struct-ff-condition-effect"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct ff_condition_effect — defines a spring or friction force-feedback effect </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> struct ff_condition_effect { __u16 right_saturation; __u16 left_saturation; __s16 right_coeff; __s16 left_coeff; __u16 deadband; __s16 center; }; </pre></div><div class="refsect1" title="Members"><a id="id2697604"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">right_saturation</span></dt><dd><p> maximum level when joystick moved all way to the right </p></dd><dt><span class="term">left_saturation</span></dt><dd><p> same for the left side </p></dd><dt><span class="term">right_coeff</span></dt><dd><p> controls how fast the force grows when the joystick moves to the right </p></dd><dt><span class="term">left_coeff</span></dt><dd><p> same for the left side </p></dd><dt><span class="term">deadband</span></dt><dd><p> size of the dead zone, where no force is produced </p></dd><dt><span class="term">center</span></dt><dd><p> position of the dead zone </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re698.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch08.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re700.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct ff_ramp_effect</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>struct ff_periodic_effect</span></td></tr></table></div></body></html>