From: johann d. <jd...@us...> - 2002-03-10 12:20:59
|
Update of /cvsroot/linuxconsole/ruby/linux/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv5086/include/linux Modified Files: input.h Log Message: Added struct ff_rumble_effect. Index: input.h =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/include/linux/input.h,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- input.h 20 Feb 2002 18:00:53 -0000 1.63 +++ input.h 10 Mar 2002 12:20:56 -0000 1.64 @@ -586,6 +586,16 @@ * therefore dispose of the memory after the upload/update */ }; +/* FF_RUMBLE */ +/* Some rumble pads have two motors of different weight. + strong_magnitude represents the magnitude of the vibration generated + by the heavy motor. +*/ +struct ff_rumble_effect { + __u16 strong_magnitude; /* Magnitude of the heavy motor */ + __u16 weak_magnitude; /* Magnitude of the light one */ +}; + /* * Structure sent through ioctl from the application to the driver */ @@ -611,6 +621,7 @@ struct ff_ramp_effect ramp; struct ff_periodic_effect periodic; struct ff_condition_effect condition[2]; /* One for each axis */ + struct ff_rumble_effect rumble; } u; }; |