Configure swipes ok for mouse3/4 = move
This commit is contained in:
parent
6bd7603694
commit
5dbcfe300b
37
README.md
37
README.md
@ -419,46 +419,49 @@ Possible Values:
|
|||||||
- scroll - 3/4 finger natural scroll (no acceleration, very experimental)
|
- scroll - 3/4 finger natural scroll (no acceleration, very experimental)
|
||||||
- scroll_reverse - 3/4 finger reverse scroll (no acceleration, very experimental)
|
- scroll_reverse - 3/4 finger reverse scroll (no acceleration, very experimental)
|
||||||
|
|
||||||
|
> **Tip**: You can clear mouse gestures by setting them blank
|
||||||
|
>
|
||||||
|
> ```
|
||||||
|
> comfortable-swipe mouse3 =
|
||||||
|
> comfortable-swipe mouse4 =
|
||||||
|
> ```
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
- 3/4-finger drag
|
✅ swipes OK
|
||||||
|
⭕ swipes DISABLED
|
||||||
|
|
||||||
|
- 3/4-finger drag ⭕
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
comfortable-swipe mouse3 = button1
|
comfortable-swipe mouse3 = button1
|
||||||
```
|
|
||||||
```bash
|
|
||||||
comfortable-swipe mouse4 = button1
|
comfortable-swipe mouse4 = button1
|
||||||
```
|
```
|
||||||
- 3/4-finger natural scroll
|
|
||||||
|
You can also use `button2` for middle click and `button3` for right click.
|
||||||
|
|
||||||
|
- 3/4-finger natural scroll ⭕
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
comfortable-swipe mouse3 = scroll
|
comfortable-swipe mouse3 = scroll
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
comfortable-swipe mouse4 = scroll
|
comfortable-swipe mouse4 = scroll
|
||||||
```
|
```
|
||||||
|
|
||||||
- 3/4-finger reverse scroll
|
- 3/4-finger reverse scroll ⭕
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
comfortable-swipe mouse3 = scroll_reverse
|
comfortable-swipe mouse3 = scroll_reverse
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
comfortable-swipe mouse4 = scroll_reverse
|
comfortable-swipe mouse4 = scroll_reverse
|
||||||
```
|
```
|
||||||
|
|
||||||
- Move 3/4-fingers with the cursor
|
- Move 3/4-fingers with the cursor ✅
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
comfortable-swipe mouse3 = move
|
comfortable-swipe mouse3 = move
|
||||||
|
comfortable-swipe mouse4 = move
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
> **Warning**: Some mouse configuration will **disable up/left/right/down behavior** to avoid gesture conflicts. The logic of this will be improved in the future.
|
||||||
mcomfortable-swipe ouse4 = move
|
|
||||||
```
|
|
||||||
|
|
||||||
> **Warning**: Applying any mouse-mouse configuration will **disable up/left/right/down behavior** to avoid gesture conflicts. The logic of this will be improved in the future.
|
|
||||||
|
|
||||||
## Debugging
|
## Debugging
|
||||||
|
|
||||||
|
|||||||
@ -200,10 +200,10 @@ function status {
|
|||||||
else
|
else
|
||||||
vstatus="VALID"
|
vstatus="VALID"
|
||||||
if [[ "$key" != mouse* ]]; then
|
if [[ "$key" != mouse* ]]; then
|
||||||
if [[ "$key" == *3 && -n "$mouse3" ]]; then
|
if [[ "$key" == *3 && -n "$mouse3" && "$mouse3" != move ]]; then
|
||||||
vstatus="IGNORED"
|
vstatus="DISABLED"
|
||||||
elif [[ "$key" == *4 && -n "$mouse4" ]]; then
|
elif [[ "$key" == *4 && -n "$mouse4" && "$mouse4" != move ]]; then
|
||||||
vstatus="IGNORED"
|
vstatus="DISABLED"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$key" == threshold ]]; then
|
if [[ "$key" == threshold ]]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user