mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-21 07:15:09 +03:00
X10: fixed optional inputs
fixed X10 conversion (MOUSE1 & 2 removed) renamed GMBL & GMBR to SI and SJ
This commit is contained in:
parent
d014ba424f
commit
6373daa319
8 changed files with 75 additions and 68 deletions
|
@ -180,7 +180,7 @@ bool isSourceAvailable(int source)
|
|||
}
|
||||
|
||||
#if defined(PCBX10)
|
||||
if ((source>=MIXSRC_S3 && source<=MIXSRC_S4) || (source>=MIXSRC_MOUSE1 && source<=MIXSRC_MOUSE2))
|
||||
if (source>=MIXSRC_MOUSE1 && source<=MIXSRC_MOUSE2)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
|
@ -253,7 +253,12 @@ bool isInputSourceAvailable(int source)
|
|||
return true;
|
||||
#endif
|
||||
|
||||
if (source >= MIXSRC_Rud && source <= MIXSRC_MAX)
|
||||
#if defined(PCBX10)
|
||||
if (source >= MIXSRC_MOUSE1 && source <= MIXSRC_MOUSE2)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if (source >= MIXSRC_Rud && source < MIXSRC_MAX)
|
||||
return true;
|
||||
|
||||
if (source >= MIXSRC_FIRST_TRIM && source <= MIXSRC_LAST_TRIM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue