wheel: handle with a state machine
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 27 Sep 2021 07:02:57 +0000 (09:02 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Mon, 8 Nov 2021 17:00:46 +0000 (18:00 +0100)
commit08245c778a8ff0e92b50266b9712174bbf4d9e32
tree7632a1497fc65abd0fd3350edbdc92905a343cfd
parent5f0d191eba004277fb258bfde4065040e43853af
wheel: handle with a state machine

In order to be able to add more complex rules in the future, transform
the current wheel handling code into a state machine.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
src/evdev-fallback.h
src/evdev-wheel.c