From: johann d. <jd...@us...> - 2001-11-04 14:44:36
|
Update of /cvsroot/linuxconsole/ruby/linux/Documentation/input In directory usw-pr-cvs1:/tmp/cvs-serv29027 Modified Files: ff.txt Added Files: interactive.fig shape.fig Log Message: Added two figures to describe parameters of effects. --- NEW FILE: interactive.fig --- #FIG 3.2 Landscape Center Inches Letter 100.00 Single -2 1200 2 2 1 0 2 0 7 50 0 -1 6.000 0 0 -1 0 0 6 1200 3600 1800 3600 2400 4800 3000 4800 4200 5700 4800 5700 2 2 0 1 0 7 50 0 -1 4.000 0 0 -1 0 0 5 1200 3150 4800 3150 4800 6300 1200 6300 1200 3150 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 1200 4800 4800 4800 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 4 2400 4800 2400 6525 1950 7125 1950 7800 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 4 3000 4800 3000 6525 3600 7125 3600 7800 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 0 1 3 0 0 1.00 60.00 120.00 3825 5400 4125 5100 5400 5100 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 0 1 3 0 0 1.00 60.00 120.00 2100 4200 2400 3900 5400 3900 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 4800 5700 5400 5700 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 1800 3600 5400 3600 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 0 1 3 0 0 1.00 60.00 120.00 2700 4800 2700 4425 5400 4425 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 1950 7800 3600 7800 4 1 0 50 0 0 12 0.0000 4 135 810 2775 7725 Dead band\001 4 0 0 50 0 0 12 0.0000 4 180 1155 5400 5700 right saturation\001 4 0 0 50 0 0 12 0.0000 4 135 1065 5400 3600 left saturation\001 4 0 0 50 0 0 12 0.0000 4 180 2505 5400 3900 left coeff ( positive in that case )\001 4 0 0 50 0 0 12 0.0000 4 180 2640 5475 5100 right coeff ( negative in that case )\001 4 0 0 50 0 0 12 0.0000 4 105 480 5400 4425 center\001 --- NEW FILE: shape.fig --- #FIG 3.2 Landscape Center Inches Letter 100.00 Single -2 1200 2 2 1 0 2 0 7 50 0 -1 0.000 0 0 -1 0 0 6 4200 3600 4200 3075 4950 2325 7425 2325 8250 3150 8250 3600 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 4200 3675 4200 5400 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 8250 3675 8250 5400 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 3675 3600 8700 3600 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 8775 3600 10200 3600 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 8325 3150 9075 3150 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 7500 2325 10200 2325 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 3600 3600 3000 3600 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 4125 3075 3000 3075 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 4200 5400 8175 5400 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 10125 2325 10125 3600 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 3000 3150 3000 3600 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 9075 3150 9075 3600 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 4950 2325 4950 1200 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 2 7425 2325 7425 1200 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 4 4200 3075 4200 2400 3600 1800 3600 1200 2 1 1 1 0 7 50 0 -1 4.000 0 0 -1 0 0 4 8250 3150 8250 2475 8775 1950 8775 1200 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 3600 1275 4950 1275 2 1 0 1 0 7 50 0 -1 4.000 0 0 -1 1 1 2 0 0 1.00 60.00 120.00 0 0 1.00 60.00 120.00 7425 1275 8700 1275 4 1 0 50 0 0 12 0.0000 4 135 1140 6075 5325 Effect duration\001 4 0 0 50 0 0 12 0.0000 4 180 1305 10200 3000 Effect magnitude\001 4 0 0 50 0 0 12 0.0000 4 135 780 9150 3450 Fade level\001 4 1 0 50 0 0 12 0.0000 4 180 1035 4275 1200 Attack length\001 4 1 0 50 0 0 12 0.0000 4 180 885 8175 1200 Fade length\001 4 2 0 50 0 0 12 0.0000 4 135 930 2925 3375 Attack level\001 Index: ff.txt =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/Documentation/input/ff.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- ff.txt 2001/10/16 21:05:57 1.9 +++ ff.txt 2001/11/04 14:44:32 1.10 @@ -1,6 +1,7 @@ Force feedback for Linux. By Johann Deneux <de...@if...> on 2001/04/22. - +You can redistribute this file, provided you include shape.fig and +interactive.fig. ---------------------------------------------------------------------------- 0. Introduction @@ -118,7 +119,9 @@ some operations (removing an effect, controlling the playback). This if field must be set to -1 by the user in order to tell the driver to allocate a new effect. -See <linux/input.h> for a description of the ff_effect stuct. +See <linux/input.h> for a description of the ff_effect stuct. You should also +find help in a few sketches, contained in files shape.fig and interactive.fig. +You need xfig to visualize these files. 3.3 Removing an effect from the device ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -195,9 +198,11 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Proceed as if you wanted to upload a new effect, except that instead of setting the id field to -1, you set it to the wanted effect id. -If you update very often, some device may stop playing effects. The driver -checks that, and re-start the updated effect if necessary. However, this -prevents effects from being palyed smoothly. +Normally, the effect is not stopped and restarted. However, depending on the +type of device, not all paramaters can be dynamically updated. For example, +the direction of an effect cannot be updated with iforce devices. In this +case, the driver stops the effect, up-load it, and restart it. + 3.8 Information about the status of effects ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |