]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-builtin-input_id: any i2c mouse is a pointing stick
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 21 Feb 2020 02:50:28 +0000 (12:50 +1000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 27 Feb 2020 10:53:46 +0000 (19:53 +0900)
commit3d7ac1c655ec40f3829543072494dcdfb92dbc6b
tree1e5ecf1d98f4e2c50533ff86b61f99f1843f1575
parent15db1f3d2ed09cf070bc6c0f6b974bba3f2ae2bf
udev-builtin-input_id: any i2c mouse is a pointing stick

Where we have a device that looks like a mouse and is connected over i2c, tag
it as pointing stick. There is no such thing as a i2c mouse.

Even touchpads that aren't recognized by the kernel will not show up as i2c
mouse - either the touchpad follows the Win8.1 specs in which case the kernel
switches it to multitouch mode and it shows up like a touchpad. The built-in
trackpoint, if any, is then the i2c mouse device.

Where the touchpad doesn't follow the spec, the kernel will not handle it and
the touchpad remains on the PS/2 legacy bus - not i2c. Hence we can assume
that any i2c mouse device is really a pointing stick.
src/udev/udev-builtin-input_id.c