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

Configure Feed

Select the types of activity you want to include in your feed.

input: Documentation: corrections for input.rst

Fix grammar, punctuation, and spelling.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Link: https://lore.kernel.org/r/20210302223523.20130-2-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Randy Dunlap and committed by
Jonathan Corbet
d1c34bb2 0b54c2e3

+4 -4
+4 -4
Documentation/input/input.rst
··· 9 9 Architecture 10 10 ============ 11 11 12 - Input subsystem a collection of drivers that is designed to support 12 + Input subsystem is a collection of drivers that is designed to support 13 13 all input devices under Linux. Most of the drivers reside in 14 14 drivers/input, although quite a few live in drivers/hid and 15 15 drivers/platform. ··· 50 50 51 51 crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice 52 52 53 - This device usually created automatically by the system. The commands 53 + This device is usually created automatically by the system. The commands 54 54 to create it by hand are:: 55 55 56 56 cd /dev ··· 180 180 wide variety of them, and because the USB HID specification isn't 181 181 simple, it needs to be this big. 182 182 183 - Currently, it handles USB mice, joysticks, gamepads, steering wheels 183 + Currently, it handles USB mice, joysticks, gamepads, steering wheels, 184 184 keyboards, trackballs and digitizers. 185 185 186 186 However, USB uses HID also for monitor controls, speaker controls, UPSs, ··· 268 268 }; 269 269 270 270 ``time`` is the timestamp, it returns the time at which the event happened. 271 - Type is for example EV_REL for relative moment, EV_KEY for a keypress or 271 + Type is for example EV_REL for relative movement, EV_KEY for a keypress or 272 272 release. More types are defined in include/uapi/linux/input-event-codes.h. 273 273 274 274 ``code`` is event code, for example REL_X or KEY_BACKSPACE, again a complete