xf86-input-evdev: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Thu Nov 5 14:36:32 PST 2009
src/evdev.c | 126 +++++++++++++++++++++++++++++++++---------------------------
1 file changed, 71 insertions(+), 55 deletions(-)
New commits:
commit a0f7f34dc5effc5822c618bfbf3a0872669c30ad
Author: Dmitry Torokhov <dmitry.torokhov at gmail.com>
Date: Mon Nov 2 23:11:55 2009 -0800
Relax checks when reopening devices
When checking whether we are dealing with the same device as before
when we try to reopen it evdev should not require exact match of
entire keymap. Users should be allowed to adjust keymaps to better
match their hardware even after X starts. However we don't expect
changes in [BTN_MISC, KEY_OK) range since these codes are reserved for
mice, joysticks, tablets and so forth, so we will limit the check to
this range.
The same goes for absinfo - limits can change and it should not result
in device being disabled.
Also check the length of the data returned by ioctl and don't try to
compare more than we were given.
[peter: moved the key comparison below the led+abs comparison]
Signed-off-by: Dmitry Torokhov <dtor at mail.ru>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-commit
mailing list