I adapted the "Input" sample of the SDK to run it as a widget. Differently than on the watch-app, the UP/DOWN/BACK keys will always close the program on non-touchscreen watches. It means that the "return true" command in the "onKey" of the input delegate isn't taken into account. I understand that it is made to prevent that the widget loop would be blocked by a poorly programmed widget.
However, I saw some apps in the store which handle those keys. For example: https://apps.garmin.com/en-US/apps/83bad36e-be16-422f-ad79-70eaa01a8173
Could someone please tell me how to implement that?
By the way, I have little bug report related to this issue: a "real" Vivoactive HR does handle the "return true" for the "onKey". For example, it's possible to avoid closing the widget with the BACK KEY. The simulator does not reproduce this behaviour.