1
0
Fork 0

Merge pull request #3223 from thyttan/swipeinv

swipeinv: add README
master
Rob Pilling 2024-02-29 22:32:59 +00:00 committed by GitHub
commit 23899c7ede
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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",
"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.",
"readme":"README.md",
"type": "bootloader",
"tags": "system",
"supports": ["BANGLEJS2"],