aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-11-02 23:11:55 -0800
committerPeter Hutterer <peter.hutterer@who-t.net>2009-11-05 08:41:59 +1000
commita0f7f34dc5effc5822c618bfbf3a0872669c30ad (patch)
treec3e6b621915741f50dc1e913a18fe6cb31f5dd01 /.gitignore
parentFix drag-lock property handler for multiple draglock buttons. (diff)
downloadxf86-input-evdev-a0f7f34dc5effc5822c618bfbf3a0872669c30ad.tar.gz
xf86-input-evdev-a0f7f34dc5effc5822c618bfbf3a0872669c30ad.tar.bz2
xf86-input-evdev-a0f7f34dc5effc5822c618bfbf3a0872669c30ad.zip
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@mail.ru> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions