#
# brand:             Philips
# model:             SBC RU 422 III
# supported devices: TV, VCR
# contributed by:    Reto Huber, me@retohuber.ch
#
# This remote is reprogrammable. The configuration below is for code 0108 in VCR mode

begin remote

  name         Philips/SBC-RU-422-III
  bits         13
  flags        RC5|CONST_LENGTH
  eps          30
  aeps         100

  one          932  847
  zero         932  847
  plead        976
  gap          113935
  toggle_bit   2

      begin codes
      
# regular codes
	'POWER'               0x000000000000114C    # power

	'PROGRAM+'            0x0000000000001160    # program+
	'PROGRAM-'            0x0000000000001161    # program-
	'MENU'                0x0000000000000152    # menu
	'OK'                  0x0000000000000157    # ok
	'TT.SUSPEND'          0x000000000000115D    # tt.suspend
	'1'                   0x0000000000001141    # 1
	'2'                   0x0000000000001142    # 2
	'3'                   0x0000000000001143    # 3
	'4'                   0x0000000000001144    # 4
	'5'                   0x0000000000001145    # 5
	'6'                   0x0000000000001146    # 6
	'7'                   0x0000000000001147    # 7
	'8'                   0x0000000000001148    # 8
	'9'                   0x0000000000001149    # 9
	'0'                   0x0000000000001140    # 0
	'-/--'                0x000000000000117A    # -/--
	'BACKWARD'            0x0000000000001172    # backward
	'STOP'                0x0000000000001176    # stop
	'PAUSE'               0x0000000000001169    # pause
	'FORWARD'             0x0000000000001174    # forward
	'PLAY'                0x0000000000001175    # play
	'RECORD'              0x0000000000001177    # record
         
# shift codes:
	'SPROGRAM+'           0x0000000000000150    # sprogram+
	'SPROGRAM-'           0x0000000000000151    # sprogram-

      end codes

end remote


begin remote

  name  Philips/SBC-RU-422-III-VOLUME
  bits          3
  flags SPACE_ENC
  eps           25
  aeps          100

  header        2451   545
  one           633   545
  zero          1236   545
  ptrail        632
  post_data_bits  8
  post_data     0xB7
  gap           26525
  toggle_bit    0

      begin codes
	'VOLUMEUP'            0x0000000000000005    # volume+
	'VOLUMEDOWN'          0x0000000000000001    # volume-
	'MUTE'                0x0000000000000006    # mute
      end codes

end remote
