Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad4a6ebe authored by Masanari Iida's avatar Masanari Iida Committed by Jonathan Corbet
Browse files

doc/input : Fix typos in Documentation/input



This patch fix spelling typos in Documentations/input.

Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 433b89cf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ To exit command mode, PSMOUSE_CMD_SETSTREAM (EA) is sent to the touchpad.
While in command mode, register addresses can be set by first sending a
specific command, either EC for v3 devices or F5 for v4 devices. Then the
address is sent one nibble at a time, where each nibble is encoded as a
command with optional data. This enoding differs slightly between the v3 and
command with optional data. This encoding differs slightly between the v3 and
v4 protocols.

Once an address has been set, the addressed register can be read by sending
@@ -131,7 +131,7 @@ ALPS Absolute Mode - Protocol Version 3
---------------------------------------

ALPS protocol version 3 has three different packet formats. The first two are
associated with touchpad events, and the third is associatd with trackstick
associated with touchpad events, and the third is associated with trackstick
events.

The first type is the touchpad position packet.
+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ such device to feedback.
EV_PWR:
----------
EV_PWR events are a special type of event used specifically for power
mangement. Its usage is not well defined. To be addressed later.
management. Its usage is not well defined. To be addressed later.

Device properties:
=================
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Example:
--------

Example configuration for a single TS1003 tilt switch that rotates around
one axis in 4 steps and emitts the current tilt via two GPIOs.
one axis in 4 steps and emits the current tilt via two GPIOs.

static int sg060_tilt_enable(struct device *dev) {
	/* code to enable the sensors */
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ LEN= 0e
*** Attack and fade ***
OP=  02
LEN= 08
00-01 Address where to store the parameteres
00-01 Address where to store the parameters
02-03 Duration of attack (little endian encoding, in ms)
04 Level at end of attack. Signed byte.
05-06 Duration of fade.
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ absolute binary value. (10 bits per channel). Next nibble is checksum for
first ten nibbles.

Next nibbles 12 .. 21 represents four channels (not all channels can be
directly controlled from TX). Binary representations ar the same as in first
directly controlled from TX). Binary representations are the same as in first
four channels. In nibbles 22 and 23 is a special magic number. Nibble 24 is
checksum for nibbles 12..23.

Loading