Align X9E audio definitions to ana inputs (#5687)
This commit is contained in:
@@ -199,6 +199,10 @@ const char * const audioFilenames[] = {
|
|||||||
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
||||||
"midpot1",
|
"midpot1",
|
||||||
"midpot2",
|
"midpot2",
|
||||||
|
#if defined(PCBX9E)
|
||||||
|
"midpot3",
|
||||||
|
"midpot4",
|
||||||
|
#endif
|
||||||
"midslid1",
|
"midslid1",
|
||||||
"midslid2",
|
"midslid2",
|
||||||
#if defined(PCBX9E)
|
#if defined(PCBX9E)
|
||||||
@@ -1102,6 +1106,10 @@ void audioEvent(unsigned int index)
|
|||||||
case AU_STICK4_MIDDLE:
|
case AU_STICK4_MIDDLE:
|
||||||
case AU_POT1_MIDDLE:
|
case AU_POT1_MIDDLE:
|
||||||
case AU_POT2_MIDDLE:
|
case AU_POT2_MIDDLE:
|
||||||
|
#if defined(PCBX9E)
|
||||||
|
case AU_POT3_MIDDLE:
|
||||||
|
case AU_POT4_MIDDLE:
|
||||||
|
#endif
|
||||||
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
||||||
case AU_SLIDER1_MIDDLE:
|
case AU_SLIDER1_MIDDLE:
|
||||||
case AU_SLIDER2_MIDDLE:
|
case AU_SLIDER2_MIDDLE:
|
||||||
|
|||||||
@@ -1328,6 +1328,10 @@ enum AUDIO_SOUNDS {
|
|||||||
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
#if defined(PCBTARANIS) || defined(PCBHORUS)
|
||||||
AU_POT1_MIDDLE,
|
AU_POT1_MIDDLE,
|
||||||
AU_POT2_MIDDLE,
|
AU_POT2_MIDDLE,
|
||||||
|
#if defined(PCBX9E)
|
||||||
|
AU_POT3_MIDDLE,
|
||||||
|
AU_POT4_MIDDLE,
|
||||||
|
#endif
|
||||||
AU_SLIDER1_MIDDLE,
|
AU_SLIDER1_MIDDLE,
|
||||||
AU_SLIDER2_MIDDLE,
|
AU_SLIDER2_MIDDLE,
|
||||||
#if defined(PCBX9E)
|
#if defined(PCBX9E)
|
||||||
|
|||||||
Reference in New Issue
Block a user