main: add swipe direction keys to make debugging easier

For me with vscode triggering a breakpoint during a mouse swipe event
handler freezes all interaction with the IDE.

As a workaround (and a nice way to play `Twos.h` :D ) map the direction
keys to the corresponding swipe events.
This commit is contained in:
Reinhold Gschweicher
2023-05-03 22:15:27 +02:00
parent fb2202b199
commit 4f54e7bb7f
2 changed files with 34 additions and 0 deletions

View File

@@ -123,6 +123,9 @@ Using the keyboard the following events can be triggered:
- `i` ... take screenshot
- `I` ... start/stop Gif screen capture
Additionally using the arrow keys the respective swipe gesture can be triggered.
For example pressing the UP key triggers a `SwipeUp` gesture.
## Littlefs-do helper
To help working with the SPI-raw file the tool `littlefs-do` is provided.