xf86-input-evdev: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Thu May 27 16:24:44 PDT 2010
src/draglock.c | 2
src/emuWheel.c | 4
src/evdev.c | 268 +++++++++++++++++++++++++++++----------------------------
3 files changed, 140 insertions(+), 134 deletions(-)
New commits:
commit 4c216242404d749b9ae8ec181146689f89119cb4
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu May 20 12:40:13 2010 +1000
Remove libc wrappers for malloc, calloc and free.
Evdev is Linux-only, and we've had the above calls for quite a while now.
Plus, now that the server has removed them they generate _a lot_ of warnings
otherwise.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
commit 6e244b109861d6f602066cac8b766a55a5016c63
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu May 20 12:38:19 2010 +1000
Move mode declaration, it's not const either.
What we're getting back from xf86SetStrOption is a strdup'd string, not
const, especially given that we free it a few lines down.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit e7c301563a4b1718d2fc0066c1b3125404e3060f
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu May 20 14:24:05 2010 +1000
Move opening the device into a separate function.
Re-use from EvdevOn and PreInit.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit ffc2c9961f5fb099b85a97550a30a854420ee773
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu May 20 11:54:56 2010 +1000
Move checks for calibration, inversion and axis swap to EvdevProbe.
Keyboard devices don't need these checks.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 7c01cff1faede468efddf2c66c9ca85022585244
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed May 19 15:37:01 2010 +1000
Move EVIOCGRAB into a static func.
This is in preparation of some major rework, there are no functional
changes.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit e6e20c1b3e5977830a2b78046c0a8c49e38746fd
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed May 19 15:09:29 2010 +1000
Move error handling in PreInit down to the end.
Just have one exit path instead of different ones. Guards are in place to
avoid freeing/deleting something that shouldn't be.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
commit b27d03b248e36ec7a674113baa494b82e3ad728b
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed May 19 14:55:32 2010 +1000
Comment odd EVIOCGRAB behaviour and reshuffle conditions a bit.
The reason for this rather weird approach is to ungrab immediately after
getting a successful grab. Evdev shouldn't be hogging the device if nothing
is done with it.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
commit ba78428ed50685fd89ef4f35143a9b3f2b1ac0f6
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed May 19 14:52:29 2010 +1000
Remove support for kernel 2.4.
It's been 6 years since 2.6, I doubt evdev would even work on 2.4 right now.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
More information about the xorg-commit
mailing list