Acknowledged
over 1 year ago

OnKeyPressed and OnKeyReleased InputDelegate events don't fire on touch screens

I am adding a feature to detect when a user holds the menu button down.  It works fine for physical buttons but not on touch screen devices.  

I moved all my menu button handling from the OnKey to the OnKeyPressed/OnKeyReleased events.

The documentation says OnKey, OnKeyPressed and OnKeyReleased are all applicable to "Physical buttons"

These events ALL fire in the Edge 830 simulator.

However ONLY OnKey fires on the physical device.

I guess this  means that for touch screen devices I can ONLY use OnKey so therefore cannot detect when the user holds the button.

Is this feature or a bug?

If a feature please can simulator and documentation be updated?
Otherwise can the bug be fixed please?

  • Agree.  I find it quite frustrating the amount of time we lose chasing "bugs" that are actually undocumented/unsimulated design features.  Something like button events I would have thought would be a pretty easy one to spot.  

    Yes of course testing on real devices would be great, but it is unrealistic to expect us to buy every single device model. 

  • I guess the big difference here is that the old issue related to physical buttons, but this new issue relates to the touchscreen.

    I agree the sim and doc should be fixed, since it's more likely in this case that the behavior is by design.

  • Yeah this was an issue for very old watches (FR230 generation circa 2015) and I guess it's also an issue for Edge 830 (even though it was released in 2019).

    Unfortunately the simulator does not replicate all the various bugs and quirks of the devices, which is why certain forum members always tell us to test on a real device (as if anyone can afford all the real devices.)