BangleApps/apps/ctrlpad
Anton 62a16815d6 Bump app versions 2024-05-04 23:41:56 +02:00
..
ChangeLog Bump app versions 2024-05-04 23:41:56 +02:00
README.md ctrlpad: add notification todo 2024-04-29 08:00:02 +01:00
icon.js ctrlpad: update metadata, icons, etc 2024-04-26 22:55:07 +01:00
icon.js.png ctrlpad: update metadata, icons, etc 2024-04-26 22:55:07 +01:00
icon.png ctrlpad: update metadata, icons, etc 2024-04-26 22:55:07 +01:00
main.js Also lint typescript files 2024-05-04 23:21:43 +02:00
main.ts Also lint typescript files 2024-05-04 23:21:43 +02:00
metadata.json Bump app versions 2024-05-04 23:41:56 +02:00

README.md

Description

A control pad app to provide fast access to common functions, such as bluetooth power, HRM and Do Not Disturb. By dragging from the top of the watch, you have this control without leaving your current app (e.g. on a run, bike ride or just watching the clock).

The app is designed to not conflict with other gestures - when the control pad is visible, it'll prevent propagation of events past it (touch, drag and swipe specifically). When the control pad is hidden, it'll ignore touch, drag and swipe events with the exception of an event dragging from the top 40 pixels of the screen.

Usage

Swipe down to enable and observe the overlay being dragged in. Swipe up on the overlay to hide it again. Then tap on a given button to trigger it.

Requires espruino firmware > 2v17 to avoid event handler clashes.

Setup / Technical details

The control pad disables drag and touch event handlers while active, preventing other apps from interfering.

Todo

  • Handle rotated screen (g.setRotation(...))
  • Handle notifications (sharing of setLCDOverlay)