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

fix(cpn) - Fix joystick slider mappings in companion. #3093

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Jan 24, 2023

On my TX16S the sliders could be seen in the companion joystick setup; but would not connect to the simulator widgets regardless of the mapping option selected in the dropdown.

The index being passed to the widgetValueChanged event was incorrect.

Note: On the TX16S the LS and RS sliders should be mapped to Knob/Slider 8 and Knob/Slider 9 respectively. They will then control the simulator widgets correctly.

For some reason the companion code setup thinks the TX16S has 7 pots ???

@elecpower
Copy link
Collaborator

For some reason the companion code setup thinks the TX16S has 7 pots ???

Depending on where you noticed the 7 pots, this could be one of the infamous storage schemes that have evolved over time. But other logic redefines.

@philmoz
Copy link
Collaborator Author

philmoz commented Jan 24, 2023

Screen Shot 2023-01-24 at 9 47 09 pm

@elecpower
Copy link
Collaborator

elecpower commented Jan 24, 2023

Screenshot from 2023-01-24 22-14-32

Screenshot from 2023-01-24 22-19-46

Screenshot from 2023-01-24 22-16-52

@pfeerick
Copy link
Member

pfeerick commented Jan 24, 2023

TX16S has facility for an extra 2 analog inputs as standard (EX1 & EX2), and two more can be gained when using the flysky digital gimbals (EX3 & EX4). This is unfortunately where runtime detection rears its ugly head - i.e. if you don't have the digital gimbals connected, you'll see you only have five entries under POTS on the radio - S1/6P/S2/EX1/EX2

#709

@pfeerick pfeerick added companion Related to the companion software bug 🪲 Something isn't working labels Jan 24, 2023
@pfeerick pfeerick added this to the 2.9 milestone Jan 25, 2023
@pfeerick pfeerick merged commit f7cdfdc into EdgeTX:main Jan 25, 2023
mha1 pushed a commit to mha1/edgetx that referenced this pull request Jan 27, 2023
@philmoz philmoz deleted the cpn-joystick-sliders branch September 20, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working companion Related to the companion software
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants