mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
doc/input : Fix typos in Documentation/input
This patch fix spelling typos in Documentations/input. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
433b89cfb4
commit
ad4a6ebeff
6 changed files with 7 additions and 7 deletions
|
@ -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
|
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
|
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
|
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.
|
v4 protocols.
|
||||||
|
|
||||||
Once an address has been set, the addressed register can be read by sending
|
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
|
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.
|
events.
|
||||||
|
|
||||||
The first type is the touchpad position packet.
|
The first type is the touchpad position packet.
|
||||||
|
|
|
@ -229,7 +229,7 @@ such device to feedback.
|
||||||
EV_PWR:
|
EV_PWR:
|
||||||
----------
|
----------
|
||||||
EV_PWR events are a special type of event used specifically for power
|
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:
|
Device properties:
|
||||||
=================
|
=================
|
||||||
|
|
|
@ -28,7 +28,7 @@ Example:
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Example configuration for a single TS1003 tilt switch that rotates around
|
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) {
|
static int sg060_tilt_enable(struct device *dev) {
|
||||||
/* code to enable the sensors */
|
/* code to enable the sensors */
|
||||||
|
|
|
@ -97,7 +97,7 @@ LEN= 0e
|
||||||
*** Attack and fade ***
|
*** Attack and fade ***
|
||||||
OP= 02
|
OP= 02
|
||||||
LEN= 08
|
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)
|
02-03 Duration of attack (little endian encoding, in ms)
|
||||||
04 Level at end of attack. Signed byte.
|
04 Level at end of attack. Signed byte.
|
||||||
05-06 Duration of fade.
|
05-06 Duration of fade.
|
||||||
|
|
|
@ -91,7 +91,7 @@ absolute binary value. (10 bits per channel). Next nibble is checksum for
|
||||||
first ten nibbles.
|
first ten nibbles.
|
||||||
|
|
||||||
Next nibbles 12 .. 21 represents four channels (not all channels can be
|
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
|
four channels. In nibbles 22 and 23 is a special magic number. Nibble 24 is
|
||||||
checksum for nibbles 12..23.
|
checksum for nibbles 12..23.
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ Format description:
|
||||||
Format specifier
|
Format specifier
|
||||||
'8' : Generic 7 segment digit with individual addressable segments
|
'8' : Generic 7 segment digit with individual addressable segments
|
||||||
|
|
||||||
Reduced capability 7 segm digit, when segments are hard wired together.
|
Reduced capability 7 segment digit, when segments are hard wired together.
|
||||||
'1' : 2 segments digit only able to produce a 1.
|
'1' : 2 segments digit only able to produce a 1.
|
||||||
'e' : Most significant day of the month digit,
|
'e' : Most significant day of the month digit,
|
||||||
able to produce at least 1 2 3.
|
able to produce at least 1 2 3.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue