# Copyright (C) 1999 Christoph Bartelmus
#
# this config file was automatically generated
# using lirc-0.6.3pre3 on Mon Apr 16 13:59:29 2001
#
# brand:             Philips
# model:             SBC RP xxx
# supported devices: TV, VCR
# contributed by:    Thomas Betker
#
# This remote control came with my Philips TV set in 1996. I don't 
# know the exact model number, but it is similar to the models 
# SBC RP 420/00 and SBC RP 421/00 which I have found on www.philips.de.
#
# The control works either in TV mode or in VCR mode; the latter is 
# selected by keeping the "VCR" button on the left side pressed (which 
# does not generate a signal by itself).
#
# The first eleven keys (ext, tt.*, pp, stereo, 16:9) are hidden
# under a flap, and tt.stop and tt.time combine to the menu signal: 
#
#     ext         info        tt.enlarge  tt.suspend
#     tt.stop     tt.solve    tt.overlay  tt.time
#     pp          stereo      16:9
#
# In VCR mode, these keys have the following functions (they don't 
# have any labels, so I got their names from other config files):
#
#     ext1        display     scanindx    eject
#     still       scanback    scanforw    fastplay
#                 audio
#
# The layout of the other keys looks about as follows (TV and VCR mode):
#
#     ----------------------standby---   ----------------------standby---
#          up                                 up
#     left    right                      left    right
#         down                               down
#     
#     red       (-  program  +)          record    (-   step    +)
#     green     (-  volume   +)          backward
#     yellow    1     2     3            forward   1     2     3
#     blue      4     5     6            stop      4     5     6
#     grey      7     8     9            play      7     8     9
#     text      mute  0     program<     timer           0     digits        
#     
#     picture               +
#     sound                 -
#     --------------------------------   --------------------------------
#
# The VCR mode does not affect the keys volume-, volume-, mute or pp. 
# Also, the following signals are disabled in VCR mode: picture, sound 
# (smart controls), +, - (programmable keys), menu, 16:9.
#

begin remote

  name         Philips/SBC-RP
  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
	'TV/EXT'              0x0000000000001038    # tv/ext
	'TV/INFO'             0x000000000000100F    # tv/info
	'TV/TT.ENLARGE'       0x000000000000102B    # tv/tt.enlarge
	'TV/TT.SUSPEND'       0x000000000000102D    # tv/tt.suspend
	'TV/TT.STOP'          0x0000000000001029    # tv/tt.stop
	'TV/TT.SOLVE'         0x000000000000102C    # tv/tt.solve
	'TV/TT.OVERLAY'       0x000000000000102E    # tv/tt.overlay
	'TV/TT.TIME'          0x000000000000102A    # tv/tt.time
	'TV/MENU'             0x000000000000003A    # tv/menu
	'TV/PP'               0x000000000000100E    # tv/pp
	'TV/STEREO'           0x0000000000001023    # tv/stereo
	'TV/16:9'             0x000000000000003E    # tv/16:9
	'TV/STANDBY'          0x000000000000100C    # tv/standby
	'TV/LEFT'             0x0000000000000015    # tv/left
	'TV/RIGHT'            0x0000000000000016    # tv/right
	'TV/UP'               0x0000000000000010    # tv/up
	'TV/DOWN'             0x0000000000000011    # tv/down
	'TV/RED'              0x000000000000002B    # tv/red
	'TV/GREEN'            0x000000000000002C    # tv/green
	'TV/YELLOW'           0x000000000000002D    # tv/yellow
	'TV/BLUE'             0x000000000000002E    # tv/blue
	'TV/GREY'             0x000000000000002F    # tv/grey
	'TV/TEXT'             0x000000000000103C    # tv/text
	'TV/PROGRAM-'         0x0000000000001021    # tv/program-
	'TV/PROGRAM+'         0x0000000000001020    # tv/program+
	'TV/VOLUME-'          0x0000000000001011    # tv/volume-
	'TV/VOLUME+'          0x0000000000001010    # tv/volume+
	'TV/1'                0x0000000000001001    # tv/1
	'TV/2'                0x0000000000001002    # tv/2
	'TV/3'                0x0000000000001003    # tv/3
	'TV/4'                0x0000000000001004    # tv/4
	'TV/5'                0x0000000000001005    # tv/5
	'TV/6'                0x0000000000001006    # tv/6
	'TV/7'                0x0000000000001007    # tv/7
	'TV/8'                0x0000000000001008    # tv/8
	'TV/9'                0x0000000000001009    # tv/9
	'TV/MUTE'             0x000000000000100D    # tv/mute
	'TV/0'                0x0000000000001000    # tv/0
	'TV/PROGRAM<'         0x0000000000001022    # tv/program<
	'TV/PICTURE'          0x00000000000010CA    # tv/picture
	'TV/SOUND'            0x00000000000010CB    # tv/sound
	'TV/+'                0x0000000000000032    # tv/+
	'TV/-'                0x0000000000000033    # tv/-
	'VCR/EXT1'            0x0000000000001178    # vcr/ext1
	'VCR/DISPLAY'         0x000000000000114F    # vcr/display
	'VCR/SCANINDX'        0x000000000000116B    # vcr/scanindx
	'VCR/EJECT'           0x000000000000116D    # vcr/eject
	'VCR/STILL'           0x0000000000001169    # vcr/still
	'VCR/SCANBACK'        0x000000000000116C    # vcr/scanback
	'VCR/SCANFORW'        0x000000000000116E    # vcr/scanforw
	'VCR/FASTPLAY'        0x000000000000116A    # vcr/fastplay
	'VCR/AUDIO'           0x0000000000001163    # vcr/audio
	'VCR/STANDBY'         0x000000000000114C    # vcr/standby
	'VCR/LEFT'            0x0000000000000155    # vcr/left
	'VCR/RIGHT'           0x0000000000000156    # vcr/right
	'VCR/UP'              0x0000000000000150    # vcr/up
	'VCR/DOWN'            0x0000000000000151    # vcr/down
	'VCR/RECORD'          0x0000000000001177    # vcr/record
	'VCR/BACKWARD'        0x0000000000001172    # vcr/backward
	'VCR/FORWARD'         0x0000000000001174    # vcr/forward
	'VCR/STOP'            0x0000000000001176    # vcr/stop
	'VCR/PLAY'            0x0000000000001175    # vcr/play
	'VCR/TIMER'           0x000000000000115D    # vcr/timer
	'VCR/STEP-'           0x0000000000001161    # vcr/step-
	'VCR/STEP+'           0x0000000000001160    # vcr/step+
	'VCR/1'               0x0000000000001141    # vcr/1
	'VCR/2'               0x0000000000001142    # vcr/2
	'VCR/3'               0x0000000000001143    # vcr/3
	'VCR/4'               0x0000000000001144    # vcr/4
	'VCR/5'               0x0000000000001145    # vcr/5
	'VCR/6'               0x0000000000001146    # vcr/6
	'VCR/7'               0x0000000000001147    # vcr/7
	'VCR/8'               0x0000000000001148    # vcr/8
	'VCR/9'               0x0000000000001149    # vcr/9
	'VCR/0'               0x0000000000001140    # vcr/0
	'VCR/DIGITS'          0x000000000000114A    # vcr/digits
      end codes

end remote
