Fixes #2380: can't select LS or RS as source in INPUT and MIXERS

This commit is contained in:
Damjan Adamic
2015-06-25 11:22:27 +02:00
parent 5ab974e140
commit a8a3a7e29a
5 changed files with 45 additions and 16 deletions
+4
View File
@@ -346,6 +346,8 @@ class RawSource {
}
bool isTimeBased() const;
bool isPot() const;
bool isSlider() const;
RawSourceType type;
int index;
@@ -1204,6 +1206,8 @@ class GeneralSettings {
static SwitchInfo switchInfoFromSwitchPositionTaranis(unsigned int index);
bool switchPositionAllowedTaranis(int index) const;
bool switchSourceAllowedTaranis(int index) const;
bool isPotAvailable(int index) const;
bool isSliderAvailable(int index) const;
};
class RadioData {