Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bangle_setUI_Q3/F18: tweaks (read below) #2571

Merged
merged 3 commits into from
Nov 4, 2024

Commits on Oct 15, 2024

  1. Bangle_setUI_Q3: tweaks (read below)

    - 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.
    thyttan committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    269b3e3 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Bangle_setUI_F18: add btnRelease (read below)

    Explicitly state button should fire on falling edge.
    
    Does not change `btn` mapped handlers to act on rising edge just jet.
    
    As per suggestion in
    espruino#2571 (comment).
    thyttan committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    cdfb4d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. Configuration menu
    Copy the full SHA
    12dacea View commit details
    Browse the repository at this point in the history