Created gestures (markdown)

Gean Marroquin 2023-09-09 08:03:55 -05:00
parent ce73a9d25f
commit b55830ceb4

17
gestures.md Normal file

@ -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)