The code is the same for every watch, and it works fine on a real Fenix 5 (with the intermediate menu being shown), and on a real Vivoactive HR and on all devices in the sim.
I use onKey() event to manage the input. Maybe the problem is easily solvable by using onMenu() instead, but I thought it was worth to leave it as it is and report what I consider to be a bug.
Link to the widget
https://apps.garmin.com/en-US/apps/3...2-064f5d04681f
Input delegate
(Sorry for the format, but the "forum bug" wouldn't let me post it otherwise
class InputDelegate extends Ui.BehaviorDelegate{
function onKey( evt ){
var key = evt.getKey();
if
(
key == KEY_ENTER
)
{
// Action 1
return true;
}
if
(
key == KEY_MENU
)
{
// Action 2
return true;
}
​​​​​​​
return false;
}
}
​​​​​​​