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