Hi guys,
I am facing issues with providing support of buttons on touch devices. I used "onSelect" behavior event before to execute code based on the "select button". This worked fine for physical buttons but caused touchscreens to only execute this method on tap. Now I changed my code to this:
function onKeyPressed(keyEvent) {
if(keyEvent.getKey()==Ui.KEY_ENTER || keyEvent.getKey()==Ui.KEY_START) {
...
return true;
}
}
Unfortunately users of devices like the Forerunner 735xt or 235 are reporting that their button is not working any more. I cannot reproduce this on the simulator and my own watch (Fenix 6) is working fine. Anybody knows what goes wrong here?
Thanks!
Bye