Hi,
what is the key constant for shortcut of opening music player? Documentation of Toybox::WatchUi is not updated in this respect. Thanks Jan
Hi,
what is the key constant for shortcut of opening music player? Documentation of Toybox::WatchUi is not updated in this respect. Thanks Jan
Not only can you not block long presses, in many cases you cannot even detect long presses. I learned this the hard way.
I’m pretty sure you can’t block system-level shortcuts (like hold LIGHT for shortcuts) or configurable hotkeys (Fenix 5, 935). And if you could, users wouldn’t like it anyway, and it would cause problems for some of the important shortcuts.
Some other examples of long presses that can’t be detected/blocked:
- VA3 button (widgets can’t even detect short press)
- Any long press on 230/235/630/920XT
- Long press of either button on VAHR
I’m sure I’m missing a few....
i not need to dedect long presses ... Garmin do a great job with this :-) I Just want to map all key presses in my APP to my functionality. For example LONG PRESS DOWN i don't want to open Music Player.
For the Fenix i have a not programming HACK by Settings - Hot Keys - Hold BACK and set Watch Face in menu list. Then my APP works. But for example Forerunner don't have this options :-(
You don't to block the FW functionality for things like hot keys, as users expect the hot keys do what they set them to do. On many devices, long press up is "menu", on others like the va4/venu, that's a long press of back. On the va4/venu, long press of the top button is controls, and a longer press is to send a request for assistance.