I wouldn't do that because based on the device, a long press could be configured as a hot key (like on the f5+ for example).
I'd stick with things defined in the UX guide.
Ok, I'll see if I can achieve the desired effect some other way.
Thanks for the feedback!
If you think about a current fenix with music, long press light is controls, long up is menu, long down is music, long start is hot key, long back is hot key, and then there are some multi-button hot keys.
For the fenix series, I am looking to ignore the hot key buttons while in app. Is there any way? I have seen one app that was able to override the long press for KEY_ENTER to make it not use the hotkey. In that app, pressing KEY_ENTER went to menu, holding KEY_ENTER still went to the menu. The KEY_ENTER hotkey was assigned to show Watch Face.
My first post and developing my first app :) Any help here would be appreciated. Thank you!
First of all, I wouldn't do it as people set the hot keys for a reason. Plus, you're going to run into issues on other devices. Take the va3 for example - long press of start is how you get to controls, and on the va3m, a longer press allows you to call for assistance.
On the va4, a short press of the bottom right is "back", a long press is "menu". for the upper button, it's like the va3m with controls and assistance.
Thanks for the quick response! I totally understand that users would set their hotkey for a reason. I just wanted to know if it was feasible in any ways.
I also wanted to ask where I could find the "UX guide" you mentioned regularly in your posts. The one on Garmin developer site (https://developer.garmin.com/connect-iq/user-experience-guidelines/designing-for-buttons-and-touch-screens/) did not have any useful on how to handle across devices.
That's what it was called in the 3.1.9 SDK and earlier SDKS.
In the 3.2.x SDKs it's in the root of the SDK and is called "UserExperienceGuideline"
Some of handling multiple devices is handled by using a Ui.BehaviorDelegate,
where you can deal with this with things like
onSelect(), onNext(), onMenu(), onNextPage(), onPreviousPage(), or you can use onKey() to look for a specific key.