setuichange: tweak the readme

pull/3487/head
thyttan 2024-07-03 21:57:55 +02:00
parent e75b7c1541
commit 89e8c9c4a7
1 changed files with 7 additions and 5 deletions

View File

@ -8,14 +8,16 @@ Just install it and it modifies setUI at boot time.
## Features
- add custom handlers on top of the standard modes as well. Previously this was only possible for mode == "custom".
- change the default behaviour of the hardware button to act immediately on press down. Previously it has been acting on button release.
- Add custom handlers on top of the standard modes as well. Previously this was only possible for mode == "custom".
- The goal here is to make it possible to move all input handling inside `setUI` where today some apps add on extra handlers outside of `setUI` calls.
- Change the default behaviour of the hardware button to act immediately on press down. Previously it has been acting on button release.
- This makes the interaction slightly snappier.
- In addition to the existing `btn` key a new `btnRelease` key can now be specified. `btnRelease` will let you listen to the rising edge of the hardware button.
## Requests
Please try this out and report your experience and thoughts on this issue:
[ Discussion: HW buttons should act on 'rising' edge #3435 ](https://github.com/espruino/BangleApps/issues/3435) .
Please report your experience and thoughts on this issue:
[ Discussion: HW buttons should act on 'rising' edge #3435 ](https://github.com/espruino/BangleApps/issues/3435) or on the related forum conversation (Link will be added when the conversation has opened).
## Creator