Acknowledged

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?

Parents
  • 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.

Comment
  • 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.

Children
No Data