Skip to content

Conversation

qba667
Copy link
Contributor

@qba667 qba667 commented Jun 22, 2019

Implementation for NV14 added.
Please let me know if my change of events is correct - in my opinion plus is corresponding to right cursor movement. For navigation in NV14 currently we are using trim joysticks in following configuration:
Left:
-Up- Menu
-Down - Telemetry
-Left - PgDwn
-Right - PgUp
-Click - Exit
Right:
-Up - Plus
-Down -Minus
-Left - Rotary left
-Right - Rotary right
-Click - Enter

In next version maybe I will be able to implement touch events.

if event == userEvent.release.exit then
currentState = pageStatus.display
elseif event == userEvent.release.plus or event == userEvent.dial.left then
elseif event == userEvent.release.plus or event == userEvent.dial.right then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes will cause the rotary wheel to work backwards for other TX with a rotary wheel. If the NV14's rotary wheel is mounted backwards then this has to be worked around in a different way (and should probably be fixed in OpenTX, and not in these lua scripts).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes reverted as requested.

Copy link
Member

@mikeller mikeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

Now I only need an engineering sample of the NV 14 to test this. 😝

@qba667
Copy link
Contributor Author

qba667 commented Jun 26, 2019

Looks good now.

Now I only need an engineering sample of the NV 14 to test this. 😝
@mikeller We have to ask FlySky - NV14 is incredible controller - if not crappy LCD, few hardware issues and incomplete firmware still in progress would be perfect one.

@mikeller mikeller merged commit 2b6378a into betaflight:master Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants