Update of /cvsroot/linuxconsole/ruby/utils
In directory usw-pr-cvs1:/tmp/cvs-serv24643
Modified Files:
ffcfstress.c ffmvforce.c
Log Message:
Small fix.
Index: ffcfstress.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/ffcfstress.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ffcfstress.c 9 Feb 2002 22:30:21 -0000 1.3
+++ ffcfstress.c 15 Feb 2002 20:47:46 -0000 1.4
@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "../linux/include/linux/input.h"
+#include <linux/input.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <stdlib.h>
Index: ffmvforce.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/utils/ffmvforce.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ffmvforce.c 16 Oct 2001 21:05:57 -0000 1.9
+++ ffmvforce.c 15 Feb 2002 20:47:46 -0000 1.10
@@ -79,10 +79,10 @@
effect.u.constant.level = 0x7fff * max(fabs(nx), fabs(ny));
effect.direction = 0x8000 * (angle + M_PI)/M_PI;
printf("level: %04x direction: %04x\n", (unsigned int)effect.u.constant.level, (unsigned int)effect.direction);
- effect.u.constant.shape.attack_length = 0;
- effect.u.constant.shape.attack_level = 0;
- effect.u.constant.shape.fade_length = 0;
- effect.u.constant.shape.fade_level = 0;
+ effect.u.constant.envelope.attack_length = 0;
+ effect.u.constant.envelope.attack_level = 0;
+ effect.u.constant.envelope.fade_length = 0;
+ effect.u.constant.envelope.fade_level = 0;
effect.trigger.button = 0;
effect.trigger.interval = 0;
effect.replay.length = 0xffff;
|