From: johann d. <jd...@us...> - 2001-10-14 14:26:45
|
Update of /cvsroot/linuxconsole/ruby/linux/Documentation/input In directory usw-pr-cvs1:/tmp/cvs-serv28590 Modified Files: Tag: iforce-split ff.txt Log Message: Added documentation for ioctl EVIOCGEFFECTS. Index: ff.txt =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/Documentation/input/ff.txt,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -d -r1.8 -r1.8.2.1 --- ff.txt 2001/08/31 22:06:32 1.8 +++ ff.txt 2001/10/14 14:26:42 1.8.2.1 @@ -95,8 +95,11 @@ - FF_FRICTION can simulate friction (aka drag, damper effect...) - FF_RUMBLE rumble effects (normally the only effect supported by rumble pads) -- 8 bits from FF_N_EFFECTS_0 containing the number of effects that can be - simultaneously played. + + +int ioctl(int fd, EVIOCGEFFECTS, int *n); + +Returns the number of effects the device can keep in its memory. 3.2 Uploading effects to the device ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |