ctrlpad: document top-40-px drag and note rotation

pull/3383/head
Rob Pilling 2024-04-28 22:32:49 +01:00
parent 2013398744
commit d4e27790a1
1 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,8 @@
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
@ -14,3 +16,8 @@ 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(...)`)