#
# Brand:        Foxtel STU-120 Analogue Cable Set Top Box
# Manufacturer: Pace (apparently?)
# Model:        32 button dark grey remote
#
# The initial gap of 42000 caused problems when issuing double key presses, such as "irsend SEND_ONCE foxtel 1 1"
# to change to channel 11, so it was increased to 60000 which can issue that command quickly with both presses being
# received.
#
# Hint: To make the channel number disappear from the top left immediately after the channel change, issue an Exit key
# press as well, ie: "irsend SEND_ONCE foxtel 2 5 Exit"
#
# Each of the unknown codes correspond one of the following buttons: S1, S2, Audio, Func. However, since they don't
# appear to do anything when pressed from the remote, it was hard to work out which one was which :)
#

begin remote
  name          Foxtel_STU-120
  eps 30
  aeps 100
  frequency     38380
  zero          573  556
  one           573  1667
  header        8911 4481
  pre_data_bits 16
  pre_data      0x213C
  bits          16
  ptrail        573
  gap           60000

  begin codes
    Unknown1 0xD02F
    Unknown2 0xC837
    Unknown3 0x58A7
    Unknown4 0x7887
    >-<      0x9867
    Ok       0xB847
    Store    0x6897
    Auth     0xE817
    Info     0x8877
    Menu     0x30CF
    Fav      0x609F
    <        0x48B7
    >        0xF00F
    /\       0xB04F
    \/       0x08F7
    Vol-     0x38C7
    Vol+     0x18E7
    Exit     0xA857
    Prog-    0xF807
    Prog+    0xD827
    1        0x40BF
    2        0xA05F
    3        0xE01F
    4        0x807F
    5        0x00FF
    6        0xC03F
    7        0x50AF
    8        0x906F
    9        0x10EF
    0        0x708F
    Mute     0x28D7
    Power    0x20DF
  end codes
end remote
