<Profile Type="SnapStream.Firefly.Core.Profile" Name="SageTV" ShowOSD="False">
  <Identifier ClassName="sage.d" WindowText="SageTV" FileName="" />
  <Identifier ClassName="sage.ae" WindowText="SageTV" FileName="" />

  <Actions Button="Close" Description="Sleep">
    <KeyAction Keys="^z" ActivationState="DownRepeat" />
    <SleepAction Sleep="500" />
    <MouseAction Type="ClickLeft" />
  </Actions>

  <Actions Button="Maximize" Description="FullScreen">
    <SpecialKeyAction Type="Down" Key="ShiftKey" /> 
    <SpecialKeyAction Type="Down" Key="ControlKey" /> 
    <SpecialKeyAction Type="Down" Key="f" /> 
    <SpecialKeyAction Type="Up" Key="ShiftKey" /> 
    <SpecialKeyAction Type="Up" Key="ControlKey" /> 
    <SpecialKeyAction Type="Up" Key="f" /> 
  </Actions>

  <Actions Button="Firefly" Description="TV">
    <KeyAction Keys="^v" ActivationState="DownRepeat" />
  </Actions>
   <Actions Button="Options" Description="Options">
    <KeyAction Keys="^o" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Info" Description="Info">
    <KeyAction Keys="^i" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="DVD" Description="DVD">
    <KeyAction Keys="^0" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Photos" Description="Photos">
    <KeyAction Keys="^p" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Music" Description="Music">
    <KeyAction Keys="^u" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="TV" Description="TV Recording Schedule">
    <KeyAction Keys="%s" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Video" Description="Recordings">
    <KeyAction Keys="^c" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="A" Description="Time Scroll">
    <KeyAction Keys="^t" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="B" Description="Favorite">
    <KeyAction Keys="^k" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="C" Description="Watched">
    <KeyAction Keys="^w" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="D" Description="Don't Like">
    <KeyAction Keys="^j" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="Right" Description="Right">
    <KeyAction Keys="{right}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Left" Description="Left">
    <KeyAction Keys="{left}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Down" Description="Down">
    <KeyAction Keys="{down}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Up" Description="Up">
    <KeyAction Keys="{up}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="OK" Description="Select">
    <KeyAction Keys="{enter}" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="Exit" Description="Home">
    <KeyAction Keys="{Home}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Menu" Description="Guide">
    <KeyAction Keys="^x" ActivationState="DownRepeat" />
  </Actions>

   <Actions Button="VolumeUp" Description="Volume Up">
    <KeyAction Keys="^r" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="VolumeDown" Description="Volume Down">
    <KeyAction Keys="^e" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Mute" Description="Mute">
    <SpecialKeyAction Type="Down" Key="ShiftKey" /> 
    <SpecialKeyAction Type="Down" Key="ControlKey" /> 
    <SpecialKeyAction Type="Down" Key="m" /> 
    <SpecialKeyAction Type="Up" Key="ShiftKey" /> 
    <SpecialKeyAction Type="Up" Key="ControlKey" /> 
    <SpecialKeyAction Type="Up" Key="m" /> 
  </Actions>

  <Actions Button="ChannelUp" Description="Channel Up/Page Up">
    <KeyAction Keys="{pgup}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="ChannelDown" Description="Channel Down/Page Down">
    <KeyAction Keys="{pgdn}" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="ChannelEnter" Description="Enter">
    <KeyAction Keys="{enter}" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="ChannelRecall" Description="Back">
    <KeyAction Keys="{bs}" />
  </Actions>

  <Actions Button="Number9" Description="Channel 9">
    <KeyAction Keys="9" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number8" Description="Channel 8">
    <KeyAction Keys="8" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number7" Description="Channel 7">
    <KeyAction Keys="7" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number6" Description="Channel 6">
    <KeyAction Keys="6" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number5" Description="Channel 5">
    <KeyAction Keys="5" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number4" Description="Channel 4">
    <KeyAction Keys="4" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number3" Description="Channel 3">
    <KeyAction Keys="3" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number2" Description="Channel 2">
    <KeyAction Keys="2" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number1" Description="Channel 1">
    <KeyAction Keys="1" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Number0" Description="Channel 0">
    <KeyAction Keys="0" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="Play" Description="Play">
    <KeyAction Keys="^d" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Stop" Description="Stop">
    <KeyAction Keys="^g" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Pause" Description="Pause">
    <KeyAction Keys="^s" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="Record" Description="Record">
    <KeyAction Keys="^y" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="Rewind" Description="Page Right">
    <KeyAction Keys="^a" ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="FastForward" Description="Page Left">
    <KeyAction Keys="^f" ActivationState="DownRepeat" />
  </Actions>

  <Actions Button="SkipBack" Description="Skip Backward/Page Left">
    <KeyAction Keys="^," ActivationState="DownRepeat" />
  </Actions>
  <Actions Button="SkipForward" Description="Skip Forward/Page Right">
    <KeyAction Keys="^." ActivationState="DownRepeat" />
  </Actions>

</Profile>
