• Peter Hutterer's avatar
    fallback: change to handle the state at EV_SYN time · 8c55bc06
    Peter Hutterer authored
    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's avatarPeter Hutterer <peter.hutterer@who-t.net>
    (cherry picked from commit db3b6fe5)
    8c55bc06
Name
Last commit
Last update
doc Loading commit data...
include/linux Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
udev Loading commit data...
.gitignore Loading commit data...
.vimdir Loading commit data...
CODING_STYLE Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
circle.yml Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...