From 164c62a97591d4c9b649460e7442977ea82ac02b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 29 May 2013 07:17:41 +1000 Subject: Use libevdev as backend Removes the need to ioctl manually and check bits, with all the dangers that come with that. libevdev is much better prepared for invalid values, OOB checks, etc. Plus, we get almost free SYN_DROPPED handling as well which we didn't have before. Signed-off-by: Peter Hutterer Reviewed-by: Adam Jackson --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b8a9c41..2953d15 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,7 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10] xproto inputproto) PKG_CHECK_MODULES(UDEV, libudev) PKG_CHECK_MODULES(XI22, [inputproto >= 2.1.99.3] [xorg-server >= 1.11.99.901], HAVE_XI22="yes", HAVE_XI22="no") +PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4]) if test "x$HAVE_XI22" = xyes; then # Obtain compiler/linker options for mtdev -- cgit v1.2.3