libinput/src
Peter Hutterer db3b6fe5f7 fallback: change to handle the state at EV_SYN time
The previous approach was to remember the last event and flush it at the right
time. The new approach is to update the device state during the frame and send
out the events at EV_SYN time.

This gives us two advantages: we are not dependent on the kernel order of how
events come in and we can process events depending on other events in the same
frame. This will come in handy later for button debouncing.

This is also the approach we have in the touchpad and tablet backends.

Two FIXMEs are left in place, the button debouncing code and the lid switch
code. Both need to be handled in future patches.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-11-20 09:55:05 +10:00
..
evdev-fallback.c fallback: change to handle the state at EV_SYN time 2017-11-20 09:55:05 +10:00
evdev-fallback.h fallback: change to handle the state at EV_SYN time 2017-11-20 09:55:05 +10:00
evdev-middle-button.c evdev: fix a coverity warning 2017-10-10 08:05:28 +10:00
evdev-mt-touchpad-buttons.c touchpad: post a SYN_REPORT after a faked trackpoint button 2017-11-14 12:04:27 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: ignore thumbs during edge scrolling 2017-09-01 16:06:40 +10:00
evdev-mt-touchpad-gestures.c gestures: don't try to pinch for nfingers > slots 2017-08-01 16:42:03 +01:00
evdev-mt-touchpad-tap.c touchpad: move the tap state bug messages to a helper function 2017-11-06 14:50:58 +10:00
evdev-mt-touchpad.c touchpad: post a SYN_REPORT after a faked trackpoint button 2017-11-14 12:04:27 +10:00
evdev-mt-touchpad.h Merge branch 'wip/touchpad-hysteresis-issues-v2' 2017-11-03 11:00:03 +10:00
evdev-tablet-pad-leds.c Abort if zalloc ever fails 2017-07-12 10:18:07 +10:00
evdev-tablet-pad.c evdev: abstract the get_switch_state method 2017-09-25 15:13:37 +10:00
evdev-tablet-pad.h util: harmonize container_of() definition with linux kernel one 2017-05-17 15:04:41 +10:00
evdev-tablet.c tablet: print what capability is missing when rejecting a device 2017-10-26 11:01:29 +10:00
evdev-tablet.h tablet: always enable the no-proximity-out quirk on HUION tablets 2017-09-21 12:27:46 +10:00
evdev.c evdev: fix axis mixup for the wheel click angles 2017-11-14 12:04:27 +10:00
evdev.h fallback: change to handle the state at EV_SYN time 2017-11-20 09:55:05 +10:00
filter-private.h filter: change the filter functions to take raw device coordinates 2016-12-21 10:55:57 +10:00
filter.c filter: don't allow an accel factor of 0 on the flat profile 2017-09-11 08:30:34 +10:00
filter.h touchpad: Enable timestamp smoothing support for bluetooth touchpads 2017-08-01 16:42:19 +01:00
libinput-private.h timer: flush the timer funcs if our events come in late 2017-09-21 12:27:46 +10:00
libinput-restore-selinux-context.sh Skip restorecon if it cannot be found 2017-06-23 09:58:42 +10:00
libinput-uninstalled.pc.in buildsystem: add missing uninstalled pkg-config infra 2016-08-30 17:18:39 +10:00
libinput-util.c util: add an extra assert for list_insert() 2017-10-18 16:17:22 +10:00
libinput-util.h Add helper function for time to timeval conversion 2017-09-14 09:43:51 +10:00
libinput-version.h.in COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput.c Add libinput_device_switch_has_switch() 2017-09-06 09:24:29 +10:00
libinput.h Add support for SW_TABLET_MODE 2017-09-06 09:26:00 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_switch_has_switch() 2017-09-06 09:24:29 +10:00
path-seat.c Add safe_strdup() 2017-07-12 15:39:31 +10:00
path-seat.h path: remove unused declaration of path_input_process_event 2017-02-01 16:59:58 +10:00
timer.c timer: require a timer name 2017-11-09 10:51:03 +10:00
timer.h timer: flush the timer funcs if our events come in late 2017-09-21 12:27:46 +10:00
udev-seat.c Add safe_strdup() 2017-07-12 15:39:31 +10:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00