Improve README readability

This commit is contained in:
Rico Tiongson 2020-04-18 05:54:24 +08:00 committed by GitHub
parent b796cb02df
commit 217e507dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,53 +195,55 @@ Refer to https://www.linux.org/threads/xdotool-keyboard.10528/ for a complete li
We have included simple mouse gestures on swipe by setting `hold3` and `hold4`. We have included simple mouse gestures on swipe by setting `hold3` and `hold4`.
**Possible Values**: ```bash
Possible Values (hold3, hold4):
- `move` - just move the mouse cursor (no mousedown) move # just move the mouse cursor (no mousedown)
- `button1` - hold left click on finger swipe button1 # hold left click on finger swipe
- `button2` - hold middle click on finger swipe button2 # hold middle click on finger swipe
- `button3` - hold right click on finger swipe button3 # hold right click on finger swipe
- `button4` - wheel up on finger swipe (experimental) button4 # wheel up on finger swipe (experimental)
- `button5` - wheel down on finger swipe (experimental) button5 # wheel down on finger swipe (experimental)
- `scroll` - naive 3/4 finger natural scroll (no acceleration, very experimental) scroll # naive 3/4 finger natural scroll (no acceleration, very experimental)
- `scroll_reverse` - naive 3/4 finger reverse scroll (no acceleration, very experimental) scroll_reverse # naive 3/4 finger reverse scroll (no acceleration, very experimental)
```
Any value not mentioned above disables the mouse-hold. Any value not mentioned above disables the mouse-hold.
Examples: Examples:
1. 3-finger drag * 3-finger drag
```bash ```bash
hold3 = button1 hold3 = button1
``` ```
1. 4-finger drag (with middle click) * 4-finger drag (with middle click)
```bash ```bash
hold4 = button2 hold4 = button2
``` ```
1. 3-finger natural scroll * 3-finger natural scroll
```bash ```bash
hold3 = scroll hold3 = scroll
``` ```
1. 4-finger reverse scroll * 4-finger reverse scroll
```bash ```bash
hold4 = scroll_reverse hold4 = scroll_reverse
``` ```
1. Just move the cursor * Just move the cursor
```bash ```bash
hold3 = move hold3 = move
hold4 = move hold4 = move
``` ```
1. Any other command will disable the mouse hold * Any other command will disable the mouse hold
```bash ```bash
hold3 = disabled hold3 = disabled