]> git.baikalelectronics.ru Git - kernel.git/commit
Input: uinput - allow for 0/0 min/max on absolute axes.
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 31 Mar 2011 05:25:34 +0000 (22:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Mar 2011 07:02:39 +0000 (00:02 -0700)
commit72c4e05be1ad153e904fba8591c1ee7e067afb11
tree5a221f370c0492215fed6ede9e1c8cbba7ca9b98
parent8a3e104c20bf7ade4e7e5e93424572972ce4ff62
Input: uinput - allow for 0/0 min/max on absolute axes.

Some devices provide absolute axes with min/max of 0/0 (e.g. wacom's
ABS_MISC axis). Current uinput restrictions do not allow duplication of
these devices and require hacks in userspace to work around this.

If the kernel accepts physical devices with a min/max of 0/0, uinput
shouldn't disallow the same range.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/uinput.c