mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
Switch to libevdev for the eventcomm backend
This has a potential bug that would need to be fixed in mtdev first: if we get a SYN_DROPPED and we miss out on events, the current code emulates a normal EV_SYN, feeds that to mtdev and hopes that that fills the mtdev output queue. If mtdev doesn't generate events on that EV_SYN, we're stuck in limbo and may get weird results. The loop will continue and sync the device, but there's the off chance we get odd events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -120,6 +120,7 @@ if test "x$BUILD_EVENTCOMM" = xyes; then
|
||||
|
||||
# Obtain compiler/linker options for mtdev
|
||||
PKG_CHECK_MODULES(MTDEV, mtdev)
|
||||
PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4])
|
||||
fi
|
||||
if test "x$BUILD_PSMCOMM" = xyes; then
|
||||
AC_DEFINE(BUILD_PSMCOMM, 1, [Optional backend psmcomm enabled])
|
||||
|
||||
Reference in New Issue
Block a user