BangleApps/apps/setuichange
thyttan c757b85760 setuichange: throw if custom drag on some modes
If custom drag handler is added together with mode updown or leftright
throw an exception.
2024-09-10 16:13:16 +02:00
..
ChangeLog setuichange: throw if custom drag on some modes 2024-09-10 16:13:16 +02:00
README.md setuicange: README add link to forum thread 2024-07-06 17:04:48 +02:00
app.png setuichange: misc. files 2024-07-02 23:57:15 +02:00
boot.js setuichange: throw if custom drag on some modes 2024-09-10 16:13:16 +02:00
metadata.json setuichange: throw if custom drag on some modes 2024-09-10 16:13:16 +02:00

README.md

setUI Proposals Preview

Try out changes to setUI that may or may not eventually en up in the Bangle.js firmware.

Usage

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".
    • 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 report your experience and thoughts on this issue: Discussion: HW buttons should act on 'rising' edge #3435 or on the related forum conversation Making Bangle.js more responsive.

Creator

The changes done here were done by thyttan with help from Gordon Williams.