Technical error in docs page
-
On the section about Controllers>Spinners, Trackballs, Lightguns, Mice, there's an error in the example log shown and how that would translate to the
/dev/input/event*
indexes.
The text of the doc on this page says:
Look for the/dev/input/event*
indexes. In the examples above there are mouselike devices at indexes 0, 1, 2, 3, 4, and 5 (first example log) and 0, and 2 (second example log).
However, in the first example log those index numbers would actually be 9, 14, 18, 30, 31 and 7. And in the second example log those index numbers would be 1 and 2.
Here are the log examples provided and you'll see what I mean:
FIRST EXAMPLE:[INFO] [udev]: Added Device Keyboard#0 G.SKILL Corporation G.SKILL RIPJAWS KM780 MX GAMING KEYBOARD (/dev/input/event8) . [INFO] [udev]: Added Device Keyboard#1 G.SKILL Corporation G.SKILL RIPJAWS KM780 MX GAMING KEYBOARD (/dev/input/event13) . [INFO] [udev]: Added Device Keyboard#2 USB Laser Game Mouse (/dev/input/event15) . [INFO] [udev]: Added Device Keyboard#3 Valve Software Steam Controller (/dev/input/event18) . [INFO] [udev]: Added Device Keyboard#4 (/dev/input/mouse3) . [INFO] [udev]: Added Device Keyboard#5 AT Translated Set 2 keyboard (/dev/input/event4) . [INFO] [udev]: Added Device mouse#0 G.SKILL Corporation G.SKILL RIPJAWS KM780 MX GAMING KEYBOARD (/dev/input/event9) . [INFO] [udev]: Added Device mouse#1 USB Laser Game Mouse (/dev/input/event14) . [INFO] [udev]: Added Device mouse#2 Valve Software Steam Controller (/dev/input/event18) . [INFO] [udev]: Added Device mouse#3 DELL0802:00 06CB:7E92 Mouse (/dev/input/event30) . [INFO] [udev]: Added Device mouse#4 DELL0802:00 06CB:7E92 Touchpad (/dev/input/event31) . [INFO] [udev]: Added Device mouse#5 SynPS/2 Synaptics TouchPad (/dev/input/event7) .
SECOND EXAMPLE:
[INFO] [udev] Adding device /dev/input/event1 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/event2 as type ID_INPUT_MOUSE. [INFO] [udev] Adding device /dev/input/mouse1 as type ID_INPUT_MOUSE.
This is important because for people like me who are trying to troubleshoot issues, the text is misleading - specifically referring to EVENT indexes but they are giving the
mouse#*
(in the first example) and the/dev/input/mouse*
(in the second example) NOT the event indexes at all. -
@hoeveler Thanks for the heads-up. I'll take a look at the page and see what was the intention to point out there - the indexes of the mouse devices or the
/dev/input/event
ones. -
@mitu thanks, certainly the opposite could have been true if it had meant to be mentioning MOUSE indexes the whole time.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.