mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-27 10:14:14 +00:00
Created gestures (markdown)
parent
ce73a9d25f
commit
b55830ceb4
17
gestures.md
Normal file
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)
|
||||
Loading…
x
Reference in New Issue
Block a user