mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
Virtual Inputs added inside Companion
This commit is contained in:
parent
efa484a710
commit
6bba2b14ca
13 changed files with 101 additions and 64 deletions
|
@ -287,7 +287,12 @@ QString RawSource::toString()
|
|||
if (index<0) {
|
||||
return QObject::tr("----");
|
||||
}
|
||||
switch(type) {
|
||||
switch (type) {
|
||||
case SOURCE_TYPE_VIRTUAL_INPUT:
|
||||
if (model && strlen(model->inputNames[index]) > 0)
|
||||
return QString(model->inputNames[index]);
|
||||
else
|
||||
return QObject::tr("Virtual Input %1").arg(index+1);
|
||||
case SOURCE_TYPE_STICK:
|
||||
return AnalogString(index);
|
||||
case SOURCE_TYPE_TRIM:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue