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

complete menu event button rationalisation; add Button enumeration tool #116

Closed stronnag closed 1 year ago

stronnag commented 1 year ago

Configuration Menu Button rationalisation

The Configuration menu has been further rationalised on non-colour / not large screen radios to solely use the OS EVT_VIRTUAL_MENU_LONG button. This is typically a long press on the button marked as "Menu" or "MDL" / "Model". This is available on all supported radios and OS.

INAVButtons

In order to assist users in identifying EVT_VIRTUAL_MENU_LONG, a diagnostic tool INAVButtons has been added. This may be found in the System Menu, either under "Tools" or from "SCRIPTS/TOOLS". When invoked, the user is invited to press the hardware buttons and their event code is reported. The tool is exited by a long press on the "RTN" key. Only buttons that report events to Lua scripts will generate output.

Screenshot from 2023-08-16 20-39-07

This tool will assist users to identify EVT_VIRTUAL_MENU_LONG on poorly documented / designed radios. It may be run in both the "Companion" application as well as on the hardware.

Screenshot from 2023-08-16 20-27-53

Documentation Update

Significant documentation updates have been made. It is recommended that these are read from the Project docs directory.