diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-16 09:42:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-20 09:17:38 +1000 |
commit | 5f55d717744e37216d3c1ac5741e0f4d9154e2de (patch) | |
tree | 864b16b5dd5aa831b7c4fcaa9a2602d4501ef2e0 /udev | |
parent | b2cd0c27bb1cfe56f91e68f6bccbc73d71beee7e (diff) |
test: when creating an abs test device, force the abs->value to the mimimum
Otherwise the abs->value could lie outside the [min, max] range of the axis.
This isn't much of an issue for actual axes but in the case of ABS_MT_SLOT
(value 47) it causes errors when libevdev sanitises the event into the allowed
slot range.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions