udev: input_id: tag pointing sticks as ID_INPUT_POINTINGSTICK
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 26 Mar 2015 04:08:35 +0000 (14:08 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 7 Apr 2015 01:07:32 +0000 (11:07 +1000)
commit606df97b6a2438a8844c828ecdef1e9b25e2e838
tree8d1ccb0bf2c73fd9dc1e5faa8ec64cccc0f3ed5b
parentb604cb9bf6a14d12589e85b82f3f59db93ea0029
udev: input_id: tag pointing sticks as ID_INPUT_POINTINGSTICK

Also referred to as trackpoint, trackstick. These are marked by recent kernels
through an input prop. Forward that prop as udev property so userspace can
easily determine whether there is a pointing stick present.

These devices were previously marked as ID_INPUT_MOUSE, for backwards
compatibility we keep that in place, the new property is an addition.
src/shared/missing.h
src/udev/udev-builtin-input_id.c