-
• #2
That's a nice idea! Do you find it reasonably reliable selecting the middle one?
-
• #3
I had 'asked' for something a while ago... - in the emulator: clicking in a 'demilitarized' zone close to the border of left and right touch zone. To 'make it reliable', feedback has to be given to the user, and touch 'event' has to fire a bit deferred after a configurable short time, and release event has to happen deferred as well in a configurable short time, in order to detect that it is a simultaneous touch and release versus anything else... (touch and not swipe)... I did something very early in Bangle.js history - on emulator - even before bangle was available to me.
-
• #4
I haven't used it in practise, but in the demo that it seemed reliable enough, given the button isn't too large and a the tip of an index finger covers both touch areas. You might have to be a bit more careful than usual though, when pressing it, for accuracy.
I was browsing the source of some of the 'launch' apps on the app store and realised people are already using this feature for 'center touch'
// Screen event Bangle.on('touch', function(button){ if(STATE.settings_open) return; switch(button){ case 1: prev(); break; case 2: next(); break; case 3: run(); break; } });
taken from
https://github.com/espruino/BangleApps/blob/master/apps/toucher/app.js
Touch Launcher
app. -
• #5
I've used the touch launcher for a while some time ago, and "middle-pressing" worked fine for me.
I was testing the output from Bangle.on("touch") and noticed that it returned
3
. Which is when you put your finger along the line/boundary between the 2 touch sensors left/right. Which made me realise that it provides functionality for 3 buttons instead of the expected 2. Obviously this was intended by the developers, just some people might not consider it.