Skip to content

Commit a3f061b

Browse files
Jean-François Têtudtor
authored andcommitted
Input: fix small typos in force feedback documentation
Fix small typos in the Instructions and Uploading sections. Fix a typo in the start/stop effect example usage code. Signed-off-by: Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent deb106b commit a3f061b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Documentation/input/ff.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To enable force feedback, you have to:
3131

3232
Before you start, let me WARN you that some devices shake violently during the
3333
initialisation phase. This happens for example with my "AVB Top Shot Pegasus".
34-
To stop this annoying behaviour, move you joystick to its limits. Anyway, you
34+
To stop this annoying behaviour, move your joystick to its limits. Anyway, you
3535
should keep a hand on your device, in order to avoid it to break down if
3636
something goes wrong.
3737

@@ -121,7 +121,7 @@ uploaded, but not played.
121121
The content of effect may be modified. In particular, its field "id" is set
122122
to the unique id assigned by the driver. This data is required for performing
123123
some operations (removing an effect, controlling the playback).
124-
This if field must be set to -1 by the user in order to tell the driver to
124+
The "id" field must be set to -1 by the user in order to tell the driver to
125125
allocate a new effect.
126126

127127
Effects are file descriptor specific.
@@ -178,7 +178,7 @@ Control of playing is done with write(). Below is an example:
178178
stop.code = effect.id;
179179
stop.value = 0;
180180

181-
write(fd, (const void*) &play, sizeof(stop));
181+
write(fd, (const void*) &stop, sizeof(stop));
182182

183183
Setting the gain
184184
----------------

0 commit comments

Comments
 (0)