<Gauge Name="USH" Version="1.0">
   <Image Name="USH_Bgrd.bmp" Luminous="Yes" ImageSizes="600,600"/>
   <Element>
      <Position X="300" Y="300"/>
           <Image Name="USH_Card.bmp" Luminous="Yes" ImageSizes="434,434">
         <Axis X="217" Y="217"/>
      </Image>
      <Rotate>
         <Value>(A:Plane heading degrees gyro,radians) /-/</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
            <GAUGE_GYRO_HEADING Action="Freeze"/>
         </Failures>
      </Rotate>
   </Element>
      <Element>
      <Position X="300" Y="300"/>
      <Image Name="USH_nADF.bmp" Luminous="Yes" ImageSizes="412,108">
         <Axis X="206" Y="54" PointsTo="East"/>
      </Image>
      <Rotate>
         <Value>(A:ADF1 Radial,radians) pi 2 / -</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
            <SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
            <GAUGE_GYRO_HEADING Action="Freeze"/>
            <GAUGE_ADF Action="Freeze"/>
         </Failures>
         <Delay DegreesPerSecond="180"/>
      </Rotate>
   </Element>

<Element>
      <Position X="300" Y="300"/>
      <Image Name="USH_nVOR.bmp" Luminous="Yes" ImageSizes="412,56">
         <Axis X="206" Y="28" PointsTo="East"/>
      </Image>
      <Rotate>
         <Value>(A:NAV2 Radial,radians) (A:Plane heading degrees gyro,radians) - pi 2 /  +</Value>
         <Failures>
            <SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
            <SYSTEM_ELECTRICAL_AVIONICS Action="Freeze"/>
            <GAUGE_GYRO_HEADING Action="Freeze"/>
            <GAUGE_ADF Action="Freeze"/>
         </Failures>
         <Delay DegreesPerSecond="180"/>
      </Rotate>
   </Element>

<Element>
      <Position X="300" Y="300"/>
      <Image Name="USH_HDG.bmp" Luminous="Yes" ImageSizes="18,280">
         <Axis X="9" Y="280" PointsTo="North"/>
      </Image>
      <Rotate>
         <Value>(A:Autopilot heading lock dir,radians) </Value>
         <Delay DegreesPerSecond="180"/>
      </Rotate>
   </Element>

<Element>
      <Position X="496" Y="560"/>
      <Image Name="USH_Knob.bmp" Luminous="Yes" ImageSizes="74,74">
         <Axis X="37" Y="37"/>
      </Image>
      <Rotate>
         <Value>(A:Autopilot heading lock dir,radians) 3 *</Value>
      </Rotate>
   </Element>
                  
   
   <Mouse>
      
         <Area Left="459" Right="496" Top="520" Bottom="600">
            <Cursor Type="DownArrow"/>
            <Click Event="HEADING_BUG_DEC" Repeat="Yes"/>
         </Area>
         <Area Left="497" Right="540" Top="520" Bottom="600">
            <Cursor Type="UpArrow"/>
            <Click Event="HEADING_BUG_INC" Repeat="Yes"/>
         </Area>
   </Mouse>
</Gauge>
