iNavFlight / OpenTX-Telemetry-Widget

INAV Lua Telemetry with support for EdgeTX
https://luatelemetry.readthedocs.io/en/latest/
GNU General Public License v3.0
156 stars 32 forks source link

On "Radiomaster Pocket" , request way to "Cycle through views" (no EVT_ENTER_BREAK key) #128

Closed captcha1 closed 1 month ago

captcha1 commented 9 months ago

Is your feature request related to a problem? Please describe

The code uses EVT_ENTER_BREAK to "Cycle through views", but the "Radiomaster Pocket (running EdgeTX 2.10.0-rm-build)" doesn't have that key.

Describe the solution you'd like

Some other way to "Cycle through views". A different key or a long press use the sticks or remap the keys ...

Describe alternatives you've considered

Additional context

stronnag commented 9 months ago

Not yet a supported radio. This will be considered after ETX 2.10 in released.

captcha1 commented 9 months ago

Any ideas for a workaround ? Maybe I could use a different key ? Maybe copy SCRIPTS/TELEMETRY/iNav.lua to iNav_pilot.lua and iNav_radar.lua and hard code it ...?

Thanks !

BTW, awesome stuff !

stronnag commented 9 months ago

You're welcome to play around for you own solution, create a PR even. However, this maintainer is only prepared to officially support:

Trying to support hardware without access to that hardware is a waste of time, both for the maintainer and the user.

Once there is an official ETX Companion for the radio, I will take a look at it.

pfeerick commented 8 months ago

@captcha1 What happens when you press and release the roller (ENTER)? As for me that is switching from view to view. I'm running a recent nightly firmware build, so it is possible it was fixed subsequent to the factory firmware being made, but I don't remember offhand anything that aimed to fix that as an issue.

stronnag commented 1 month ago

Closing as it works as advertised in Companion.