#
# this config file was automatically generated
# using lirc-0.6.3(parallel) on Tue May 29 01:33:21 2001
#
# contributed by  Jordan Hazen <jnh@aug.com>
#
# brand:             Hughes
# model:             HIRD-B2 DSS satellite receiver

# First segment: Control buttons (all but numbers & channel up/down) --

begin remote

  name  b1
  bits           26
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9176  4391
  one           673  1591
  zero          673   454
  ptrail        672
  repeat       9171  2145
  pre_data_bits   3
  pre_data       0x1
  post_data_bits  3
  post_data      0x7
  gap          109121
  toggle_bit      0


      begin codes
	'LAST'                0x00000000021BED12    # last
	'GUIDE'               0x00000000021BE916    # guide
	'UP'                  0x00000000021BF30C    # up
	'DOWN'                0x00000000021BE11E    # down
	'LEFT'                0x00000000021BE51A    # left
	'RIGHT'               0x00000000021BFD02    # right
	'SELECT'              0x00000000021BE31C    # select
	'ACTION'              0x00000000021BEE11    # action
	'LIST'                0x00000000021BF10E    # list
	'INFO'                0x00000000021BF906    # info
	'BACK'                0x00000000021BFE01    # back
	'POWER'               0x00000000021BF50A    # power
      end codes

end remote

# Second segment: Numbers, channel up/down --
#  (couldn't get these to work without separating them into a separate 'remote'
#   file)
#
# Despite the slow user interface of this old Hughes receiver, it can accept
# full 3-digit channel numbers as fast as LIRC can send them.  So, sequences
# like  'rc SEND_ONCE b2 8 3 8' work fine.  It will have changed channels
# before the OSD catches up.

begin remote

  name  b2
  bits           12
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9229  4355
  one           695  1574
  zero          695   428
  ptrail        679
  repeat       9170  2146
  pre_data_bits   16
  pre_data       0x30DF
  post_data_bits  4
  post_data      0xF
  gap          108143
  toggle_bit      0


      begin codes
	'1'                   0x0000000000000A05    # 1
	'2'                   0x0000000000000609    # 2
	'3'                   0x0000000000000E01    # 3
	'4'                   0x000000000000010E    # 4
	'5'                   0x0000000000000906    # 5
	'6'                   0x000000000000050A    # 6
	'7'                   0x0000000000000D02    # 7
	'8'                   0x000000000000030C    # 8
	'9'                   0x0000000000000B04    # 9
	'0'                   0x000000000000020D    # 0
	'CHANNELDOWN'         0x0000000000000C03    # ch-
	'CHANNELUP'           0x000000000000040B    # ch+
      end codes

end remote
