diff --git a/gestures.md b/gestures.md new file mode 100644 index 0000000..a80c2a0 --- /dev/null +++ b/gestures.md @@ -0,0 +1,17 @@ +### Description +Add swipe gestures to trigger functions, similar to [libinput-gestures](https://github.com/bulletmark/libinput-gestures/tree/master). It supports the following gestures: `SWIPE_UP`, `SWIPE_DOWN`, `SWIPE_LEFT` and `SWIPE_RIGHT` + +``` +static const Gesture gestures[] = { + { SWIPE_LEFT, shiftview, { .i = 1 } }, + { SWIPE_RIGHT, shiftview, { .i = -1 } }, +}; +``` + +### Download +Apply on top of [pointerGesturesUnstableV1 patch](https://github.com/djpohly/dwl/wiki/pointerGesturesUnstableV1). + +- [2023-09-09](https://github.com/djpohly/dwl/compare/main...wochap:gestures.patch) + +### Authors +- [wochap](https://github.com/wochap) \ No newline at end of file