Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean-François Têtu and committed by
Dmitry Torokhov
a3f061bc deb106be

+3 -3
+3 -3
Documentation/input/ff.rst
··· 31 31 32 32 Before you start, let me WARN you that some devices shake violently during the 33 33 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 35 35 should keep a hand on your device, in order to avoid it to break down if 36 36 something goes wrong. 37 37 ··· 121 121 The content of effect may be modified. In particular, its field "id" is set 122 122 to the unique id assigned by the driver. This data is required for performing 123 123 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 125 125 allocate a new effect. 126 126 127 127 Effects are file descriptor specific. ··· 178 178 stop.code = effect.id; 179 179 stop.value = 0; 180 180 181 - write(fd, (const void*) &play, sizeof(stop)); 181 + write(fd, (const void*) &stop, sizeof(stop)); 182 182 183 183 Setting the gain 184 184 ----------------