swipeinv: add README

master
thyttan 2024-02-29 02:41:24 +01:00
parent 358996adf2
commit 0f40ab025e
2 changed files with 28 additions and 0 deletions

27
apps/swipeinv/README.md Normal file
View File

@ -0,0 +1,27 @@
# Swipe Inversion
Inverts swipe direction globally or per app, see settings. If global inversion is enabled, you can unselect the inversion per app and vice versa.
## Limitations
Swipe Inversion can only invert directions on apps that use `Bangle.setUI` to set up swipes. Swipes set up with `Bangle.on("swipe", ...)` is currently not managed.
Swiping behavior that uses the `drag` event is not altered either.
## TODO
- Try to handle swipes from `Bangle.on("swipe", ...)`
- alternatively refactor apps using that to only use `Bangle.setUI` for setting up swipes.
- Think about how to accommodate e.g. `touch` or `back` handlers set up in `Layout` library calls. They are removed if we refactor some `Bangle.on("swipe", ...)` to `Bangle.setUI`. (Is it maybe resolved if we call `Bangle.setUI` before the `Layout` call? - have not tested that yet.)
- Add bootloader apps and widgets to the list of apps that can be individually toggled in settings?
## Requests
Bug reports and feature requests should be done to the espruino/BangleApps github issue tracker.
## Creator
nxdefiant
## Contributors

View File

@ -5,6 +5,7 @@
"icon": "app.png", "icon": "app.png",
"version":"0.01", "version":"0.01",
"description": "Inverts swipe direction globally or per app, see settings. If global inversion is enabled, you can unselect the inversion per app and vice versa.", "description": "Inverts swipe direction globally or per app, see settings. If global inversion is enabled, you can unselect the inversion per app and vice versa.",
"readme":"README.md",
"type": "bootloader", "type": "bootloader",
"tags": "system", "tags": "system",
"supports": ["BANGLEJS2"], "supports": ["BANGLEJS2"],