<Template>
  <WidgetGroup>
    <Size>108f,54f</Size>
    <BackPath>style/style_bg_auxiliary_<Variable name="auxnum"/>.png</BackPath>
    <!--<Layout>horizontal</Layout>-->
    <Children>
      <!--
      **********************************************
      Visual- Volume peak indicator
      **********************************************
      -->
      <StatusLight>
        <TooltipId>auxiliary_peak_indicator</TooltipId>
        <PathStatusLight>skin:/style/volume_clipping_microphone_over.png</PathStatusLight>
        <PathBack>skin:/style/volume_clipping_microphone.png</PathBack>
        <Pos>99,6</Pos>
        <Connection>
          <ConfigKey>[Auxiliary<Variable name="auxnum"/>],peak_indicator</ConfigKey>
        </Connection>
      </StatusLight>

      <!--
      **********************************************
      Visual - Volume level display
      **********************************************
      -->
      <WidgetGroup>
        <Pos>99,14</Pos>
        <Size>5f,35f</Size>
        <Layout>horizontal</Layout>
        <Children>
          <VuMeter>
            <TooltipId>auxiliary_VuMeter</TooltipId>
            <PathVu>skin:/style/volume_display_microphone_over.png</PathVu>
            <PathBack>skin:/style/volume_display_microphone.png</PathBack>
            <PeakHoldSize>5</PeakHoldSize>
            <PeakHoldTime>500</PeakHoldTime>
            <PeakFallTime>50</PeakFallTime>
            <PeakFallStep>2</PeakFallStep>
            <Connection>
              <ConfigKey>[Auxiliary<Variable name="auxnum"/>],vu_meter</ConfigKey>
            </Connection>
          </VuMeter>
        </Children>
      </WidgetGroup>

      <Knob>
        <TooltipId>auxiliary_pregain</TooltipId>
        <NumberStates>64</NumberStates>
        <Path>knobs/knob_rotary_s%1.png</Path>
        <Pos>66,22</Pos>
        <Connection>
          <ConfigKey>[Auxiliary<Variable name="auxnum"/>],pregain</ConfigKey>
        </Connection>
      </Knob>

      <PushButton>
        <TooltipId>orientation</TooltipId>
        <NumberStates>3</NumberStates>
        <State>
          <Number>0</Number>
          <Pressed>skin:/btn/btn_orientation_sampler_left_over.png</Pressed>
          <Unpressed>skin:/btn/btn_orientation_sampler_left_over.png</Unpressed>
        </State>
        <State>
          <Number>1</Number>
          <Pressed>skin:/btn/btn_orientation_sampler_main.png</Pressed>
          <Unpressed>skin:/btn/btn_orientation_sampler_main.png</Unpressed>
        </State>
        <State>
          <Number>2</Number>
          <Pressed>skin:/btn/btn_orientation_sampler_right_over.png</Pressed>
          <Unpressed>skin:/btn/btn_orientation_sampler_right_over.png</Unpressed>
        </State>
        <Pos>0,28</Pos>
        <Connection>
          <ConfigKey>[Auxiliary<Variable name="auxnum"/>],orientation</ConfigKey>
          <EmitOnDownPress>true</EmitOnDownPress>
          <ButtonState>LeftButton</ButtonState>
        </Connection>
      </PushButton>

      <PushButton>
        <TooltipId>pfl</TooltipId>
        <NumberStates>2</NumberStates>
        <State>
          <Number>0</Number>
          <Pressed>skin:/btn/btn_pfl_fx_down.png</Pressed>
          <Unpressed>skin:/btn/btn_pfl_fx.png</Unpressed>
        </State>
        <State>
          <Number>1</Number>
          <Pressed>skin:/btn/btn_pfl_fx_overdown.png</Pressed>
          <Unpressed>skin:/btn/btn_pfl_fx_over.png</Unpressed>
        </State>
        <Pos>21,30</Pos>
        <Connection>
          <ConfigKey>[Auxiliary<Variable name="auxnum"/>],pfl</ConfigKey>
          <ButtonState>LeftButton</ButtonState>
        </Connection>
      </PushButton>

    </Children>
  </WidgetGroup>
</Template>
