Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: key handling #4849

Merged
merged 6 commits into from
May 27, 2024
Merged

refactor: key handling #4849

merged 6 commits into from
May 27, 2024

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Apr 6, 2024

As discussed in #4838

Clean up key handling code and remove special case tests and calls to killEvents().

At this stage Lua key event names remain unchanged.

@pfeerick pfeerick added the house keeping 🧹 Cleanup of code and house keeping label Apr 9, 2024
@pfeerick pfeerick added this to the 2.11 milestone Apr 9, 2024
@pfeerick pfeerick self-requested a review April 25, 2024 01:24
@philmoz philmoz force-pushed the key-handling branch 2 times, most recently from 9061af5 to b15c789 Compare May 3, 2024 23:37
@philmoz philmoz force-pushed the key-handling branch 2 times, most recently from 08c4619 to b5400a9 Compare May 14, 2024 07:45
@pfeerick
Copy link
Member

pfeerick commented May 27, 2024

From what I can tell with a test with Pocket, TPro, TX16S and X9D+, this seems to be working fine, with no readily apparent side effects. Tested against radio menus and Yappu / iNav / ELRS standalone Lua and widgets/telem lua. The Cpn key naming changes are much appreciated.

@pfeerick pfeerick merged commit e807ccb into EdgeTX:main May 27, 2024
47 checks passed
pfeerick added a commit that referenced this pull request Jul 2, 2024
Most likely related to one of the key handling PRs such as #4849, as this is only changed in main.
@philmoz philmoz deleted the key-handling branch August 19, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
house keeping 🧹 Cleanup of code and house keeping
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants