mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-21 15:25:12 +03:00
[Companion][Horus] Add joystick axes (JSx & JSy) and trims T5 & T6 as usable sources. (#4550)
* [Companion][Horus] Add joystick axes (JSx & JSy) to sources list (fixes #4336). * [Companion][Horus] Add aux trims T5 & T6 and associated switches to respective selector lists. Rename "Joysticks" enum to "MouseAnalogs".
This commit is contained in:
parent
d911d382f2
commit
2540e166b0
8 changed files with 130 additions and 115 deletions
|
@ -717,7 +717,7 @@ void SimulatorWidget::setValues()
|
|||
// "get" values from this UI and send them to the firmware simulator.
|
||||
void SimulatorWidget::getValues()
|
||||
{
|
||||
static const int numTrims = firmware->getCapability(NumTrimSwitches);
|
||||
static const int numTrims = getBoardCapability(m_board, Board::NumTrimSwitches);
|
||||
int i;
|
||||
|
||||
TxInputs inp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue