fix(readme): markdown syntax
This commit is contained in:
parent
90c111acb6
commit
469cc2966f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ The keys and their values are defined as follows:
|
||||||
| Key | Value |
|
| Key | Value |
|
||||||
|:---|:---|
|
|:---|:---|
|
||||||
| `petal` | The petal the event was detected on. Uses the numbers printed on the PCB (1-10), rather than the `captouch` indexes (0-9). |
|
| `petal` | The petal the event was detected on. Uses the numbers printed on the PCB (1-10), rather than the `captouch` indexes (0-9). |
|
||||||
| `event` | The type of gesture that was detected. One of `touch_tip`, `touch_base`, `swipe_up`, `swipe_right`, `swipe_down`, `swipe_left`, whereas `swipe_up` always means a swipe towards the tip of the petal, and `swipe_down towards its base. |
|
| `event` | The type of gesture that was detected. One of `touch_tip`, `touch_base`, `swipe_up`, `swipe_right`, `swipe_down`, `swipe_left`, whereas `swipe_up` always means a swipe towards the tip of the petal, and `swipe_down` towards its base. |
|
||||||
| `dx` | The distance between start and end of the touch event in `x` (base-to-tip) direction. Unitless number, as returned by [captouch's `position()` function][captouch]. |
|
| `dx` | The distance between start and end of the touch event in `x` (base-to-tip) direction. Unitless number, as returned by [captouch's `position()` function][captouch]. |
|
||||||
| `dy` | The distance between start and end of the touch event in `y` (side-to-side) direction. |
|
| `dy` | The distance between start and end of the touch event in `y` (side-to-side) direction. |
|
||||||
| `duration` | The duration between start and end of the touch event in `ms`. |
|
| `duration` | The duration between start and end of the touch event in `ms`. |
|
||||||
|
|
Loading…
Reference in a new issue