Commit 965fe237 authored by Vojtech Pavlik's avatar Vojtech Pavlik

Merge

parents 3016738b 423ba7c0
Force feedback for Linux. Force feedback for Linux.
By Johann Deneux <deneux@ifrance.com> on 2001/04/22. By Johann Deneux <deneux@ifrance.com> on 2001/04/22.
You can redistribute this file, provided you include shape.fig and You may redistribute this file. Please remember to include shape.fig and
interactive.fig. interactive.fig as well.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
0. Introduction 0. Introduction
...@@ -90,12 +90,14 @@ following bits: ...@@ -90,12 +90,14 @@ following bits:
- FF_Y has an Y axis (usually joysticks) - FF_Y has an Y axis (usually joysticks)
- FF_WHEEL has a wheel (usually sterring wheels) - FF_WHEEL has a wheel (usually sterring wheels)
- FF_CONSTANT can render constant force effects - FF_CONSTANT can render constant force effects
- FF_PERIODIC can render periodic effects (sine, ramp, square...) - FF_PERIODIC can render periodic effects (sine, triangle, square...)
- FF_RAMP can render ramp effects
- FF_SPRING can simulate the presence of a spring - FF_SPRING can simulate the presence of a spring
- FF_FRICTION can simulate friction - FF_FRICTION can simulate friction
- FF_DAMPER can simulate damper effects - FF_DAMPER can simulate damper effects
- FF_RUMBLE rumble effects (normally the only effect supported by rumble - FF_RUMBLE rumble effects (normally the only effect supported by rumble
pads) pads)
- FF_INERTIA can simulate inertia
int ioctl(int fd, EVIOCGEFFECTS, int *n); int ioctl(int fd, EVIOCGEFFECTS, int *n);
......
...@@ -45,9 +45,6 @@ ...@@ -45,9 +45,6 @@
#define RUN_AT(t) (jiffies + (t)) #define RUN_AT(t) (jiffies + (t))
/* Transmition state */
#define XMIT_RUNNING 0
/* Effect status */ /* Effect status */
#define EFFECT_STARTED 0 /* Effect is going to play after some time #define EFFECT_STARTED 0 /* Effect is going to play after some time
(ff_replay.delay) */ (ff_replay.delay) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment