feat: MIN constant as a source option (#3639)

* feature request #1635

- added MIN (-MAX -> -1024) as source

* fix rebase

* fix rebase

* change to use language strings for MIN/MAX instead of instance

updated CN and TX language file for MINuse -RESX for MIN instead of magi numbercode cleanup

* updated test sources

* updated JP language

* JP language: changed translation text

* updated HE language translations
This commit is contained in:
Michael
2023-08-28 20:16:00 +10:00
committed by GitHub
parent e46d00e7d0
commit 2d8d2fcf01
60 changed files with 223 additions and 104 deletions
+1 -2
View File
@@ -313,8 +313,7 @@ bool isSourceAvailableInInputs(int source)
if (source >= MIXSRC_FIRST_SPACEMOUSE && source <= MIXSRC_LAST_SPACEMOUSE)
return true;
#endif
if (source == MIXSRC_MAX)
if (source == MIXSRC_MIN || source == MIXSRC_MAX)
return true;
if (source >= MIXSRC_FIRST_TRIM && source <= MIXSRC_LAST_TRIM) {