diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-04-03 12:07:32 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-12 11:48:23 -0400 |
commit | ce18923774d4f8579843b662b4b9c1d3865fb6fc (patch) | |
tree | cb8d4ccaddffbdabe6c1e94e5529401836943a4f /test | |
parent | 5ee5fee016106cf9095431f11c0204b98a5ba69b (diff) |
udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER
input_id already (tries to) tag accelerometers as such, but this only works
for absolute accelerometers. Recent kernels mark accelerometers through an
input prop. Trust that prop and always tag devices with it with
ID_INPUT_ACCELEROMETER.
Note that detection by the prop bit works the same as the existing detection
and will ensure that no other tags get set on the device.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions