mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-29 11:04:14 +00:00
Updated gestures (markdown)
parent
89420ae14b
commit
c8d5fc1e06
@ -1,7 +1,7 @@
|
||||
### 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`
|
||||
|
||||
```
|
||||
```c
|
||||
static const Gesture gestures[] = {
|
||||
{ SWIPE_LEFT, shiftview, { .i = 1 } },
|
||||
{ SWIPE_RIGHT, shiftview, { .i = -1 } },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user