The two most important files/classes are IGestureManger
in src/gestures/Gestures.hpp
and
GestureManager
in src/GestureManager.hpp
IGestureManager
processes touch events (onTouchDown
) and then emits events when a gesture is triggered/cancelled.GestureManager
implements the event handlers defined inIGestureManger
.
Actions: wf::touch::action_t
describe a sequence of touch events and are chained together to implement gestures. Custom actions are defined in src/gestures/Actions.cpp
- Everything in
src/gestures
should be easily testable - do NOT put Hyprland specific code in this directory.
- There are no strict commit message guidelines - I loosely follow conventional commits. Follow them if possible, it's fine if you don't.
TODO