
# This config file was automatically generated using lirc-0.6.6(any) 
# on Sat Dec 27 14:33:05 2003. It was contributed by Thomas Betker.
# 
# brand:                               Philips
# model no. of remote control:         28PT7207
# devices controlled by this remote:   TV, VCR, Sat, DVD
# 
# This remote came with my 28PT7207 TV set. It uses RC6 in TV and DVD 
# Player mode, and RC5 in VCR and Sat Receiver mode.
# 
# The mode is selected by the 'Mode' button which runs through TV, VCR, 
# and AUX mode (and does not generate a signal itself). The type of AUX 
# mode is programmed by pressing 'OK' + '1' (Sat Receiver) or 'OK' + '2' 
# (DVD Player), in TV mode.
# 
# The following table shows each button's codes depending on the mode. 
# '*' means that the button does the obvious, '-' means that the button 
# is dead (no signal). '[tv]' says that the button falls back to the 
# TV mode signal, and '=' indicates duplicate codes.
# 
# Button            tv             vcr       sat       dvd
# --------------------------------------------------------------
# Standby           *              *         *         *
# ->, ?             External       External  External  <C7>
# >>, )(            SurroundSound  Forward   [tv]      Forward
# Red, o            Red            Record    [tv]      =Still
# Green, <<         Green          Rewind    [tv]      Rewind
# Yellow, []        Yellow         Stop      [tv]      Stop
# Blue, >           Blue           Play      [tv]      Play
# >|> (<<+[])       InstallMenu    -         -         -
# {book}            NexTView       <61>      [tv]      Subtitle
# {clock}           Time           Timer     [tv]      [tv]
# 1|2               <A2>           -         [tv]      -
# {text}            Teletext       =OSD      [tv]      Title
# SmartSound        *              [tv]      [tv]      [tv]
# ActiveControl     *              [tv]      [tv]      [tv]
# SmartPicture      *              [tv]      [tv]      [tv]
# Menu / OK         *              *         *         *
# (cursor)          *              *         *         *
# Vol+              *              [tv]      [tv]      [tv]
# Vol-              *              [tv]      [tv]      [tv]
# Mute              *              [tv]      [tv]      [tv]
# P+ / P-           *              *         *         *
# I-II              Audio          Audio     Audio     Audio
# >|<               Still          Still     [tv]      Still
# |<>|              Format         [tv]      [tv]      [tv]
# v^, Zoom          TextZoom       [tv]      [tv]      [tv]
# (digit)           *              *         *         *
# i+                Info           OSD       OSD       <F0>
# P<P               Program<       Index     Program<  <37>
# --------------------------------------------------------------
#
# <xx> codes are those for which I couldn't find a description. 
# According to my manual, vcr.<61> is the "tape list function", and 
# dvd.<37> is the "T-C function", but I had no means to verify this.
# The tv.<A2> button is declared as unused.
# 
# tv.InstallMenu is generated when tv.Green and tv.Yellow are 
# pressed at the same time.
# 

begin remote

  name          Philips/28PT7207
  bits          12
  flags         RC6|CONST_LENGTH
  eps           30
  aeps          100

  header        2800 800
  one           445 445
  zero          445 445
  pre_data_bits 9
  pre_data      0xEF
  gap           83190
  toggle_bit    5

      begin codes
	'TV.STANDBY'          0x0000000000000FF3    # tv.Standby
	'TV.EXTERNAL'         0x0000000000000FC7    # tv.External
	'TV.SURROUNDSOUND'    0x0000000000000F8E    # tv.SurroundSound
	'TV.RED'              0x0000000000000F92    # tv.Red
	'TV.GREEN'            0x0000000000000F91    # tv.Green
	'TV.YELLOW'           0x0000000000000F90    # tv.Yellow
	'TV.BLUE'             0x0000000000000F8F    # tv.Blue
	'TV.INSTALLMENU'      0x0000000000000FBA    # tv.InstallMenu
	'TV.NEXTVIEW'         0x0000000000000F33    # tv.NexTView
	'TV.TIME'             0x0000000000000F80    # tv.Time
	'TV.<A2>'             0x0000000000000FA2    # tv.<A2>
	'TV.TELETEXT'         0x0000000000000FC3    # tv.Teletext
	'TV.SMARTSOUND'       0x0000000000000F0B    # tv.SmartSound
	'TV.ACTIVECONTROL'    0x0000000000000F69    # tv.ActiveControl
	'TV.SMARTPICTURE'     0x0000000000000F0C    # tv.SmartPicture
	'TV.MENU'             0x0000000000000FAB    # tv.Menu
	'TV.OK'               0x0000000000000FA3    # tv.OK
	'TV.LEFT'             0x0000000000000FA5    # tv.Left
	'TV.RIGHT'            0x0000000000000FA4    # tv.Right
	'TV.UP'               0x0000000000000FA7    # tv.Up
	'TV.DOWN'             0x0000000000000FA6    # tv.Down
	'TV.VOLUME+'          0x0000000000000FEF    # tv.Volume+
	'TV.VOLUME-'          0x0000000000000FEE    # tv.Volume-
	'TV.MUTE'             0x0000000000000FF2    # tv.Mute
	'TV.PROGRAM+'         0x0000000000000FDF    # tv.Program+
	'TV.PROGRAM-'         0x0000000000000FDE    # tv.Program-
	'TV.AUDIO'            0x0000000000000FB1    # tv.Audio
	'TV.STILL'            0x0000000000000F98    # tv.Still
	'TV.FORMAT'           0x0000000000000F0A    # tv.Format
	'TV.TEXTZOOM'         0x0000000000000F18    # tv.TextZoom
	'TV.1'                0x0000000000000FFE    # tv.1
	'TV.2'                0x0000000000000FFD    # tv.2
	'TV.3'                0x0000000000000FFC    # tv.3
	'TV.4'                0x0000000000000FFB    # tv.4
	'TV.5'                0x0000000000000FFA    # tv.5
	'TV.6'                0x0000000000000FF9    # tv.6
	'TV.7'                0x0000000000000FF8    # tv.7
	'TV.8'                0x0000000000000FF7    # tv.8
	'TV.9'                0x0000000000000FF6    # tv.9
	'TV.0'                0x0000000000000FFF    # tv.0
	'TV.INFO'             0x0000000000000FF0    # tv.Info
	'TV.PROGRAM<'         0x0000000000000FF5    # tv.Program<

	'DVD.STANDBY'         0x0000000000000BF3    # dvd.Standby
	'DVD.<C7>'            0x0000000000000BC7    # dvd.<C7>
	'DVD.FORWARD'         0x0000000000000BD7    # dvd.Forward
	'DVD.REWIND'          0x0000000000000BD6    # dvd.Rewind
	'DVD.STOP'            0x0000000000000BCE    # dvd.Stop
	'DVD.PLAY'            0x0000000000000BD3    # dvd.Play
	'DVD.SUBTITLE'        0x0000000000000BB4    # dvd.Subtitle
	'DVD.TITLE'           0x0000000000000B8E    # dvd.Title
	'DVD.MENU'            0x0000000000000BAB    # dvd.Menu
	'DVD.OK'              0x0000000000000BA3    # dvd.OK
	'DVD.LEFT'            0x0000000000000BA5    # dvd.Left
	'DVD.RIGHT'           0x0000000000000BA4    # dvd.Right
	'DVD.UP'              0x0000000000000BA7    # dvd.Up
	'DVD.DOWN'            0x0000000000000BA6    # dvd.Down
	'DVD.PROGRAM+'        0x0000000000000BDF    # dvd.Program+
	'DVD.PROGRAM-'        0x0000000000000BDE    # dvd.Program-
	'DVD.AUDIO'           0x0000000000000BB1    # dvd.Audio
	'DVD.STILL'           0x0000000000000BCF    # dvd.Still
	'DVD.1'               0x0000000000000BFE    # dvd.1
	'DVD.2'               0x0000000000000BFD    # dvd.2
	'DVD.3'               0x0000000000000BFC    # dvd.3
	'DVD.4'               0x0000000000000BFB    # dvd.4
	'DVD.5'               0x0000000000000BFA    # dvd.5
	'DVD.6'               0x0000000000000BF9    # dvd.6
	'DVD.7'               0x0000000000000BF8    # dvd.7
	'DVD.8'               0x0000000000000BF7    # dvd.8
	'DVD.9'               0x0000000000000BF6    # dvd.9
	'DVD.0'               0x0000000000000BFF    # dvd.0
	'DVD.<F0>'            0x0000000000000BF0    # dvd.<F0>
	'DVD.<37>'            0x0000000000000B37    # dvd.<37>
      end codes

end remote

begin remote

  name          Philips/28PT2707
  bits          13
  flags         RC5|CONST_LENGTH
  eps           30
  aeps          100

  one           940   834
  zero          940   834
  plead         983
  gap           113588
  toggle_bit    2

      begin codes
	'VCR.STANDBY'         0x000000000000114C    # vcr.Standby
	'VCR.EXTERNAL'        0x0000000000001178    # vcr.External
	'VCR.FORWARD'         0x0000000000001174    # vcr.Forward
	'VCR.RECORD'          0x0000000000001177    # vcr.Record
	'VCR.REWIND'          0x0000000000001172    # vcr.Rewind
	'VCR.STOP'            0x0000000000001176    # vcr.Stop
	'VCR.PLAY'            0x0000000000001175    # vcr.Play
	'VCR.<61>'            0x0000000000000161    # vcr.<61>
	'VCR.TIMER'           0x000000000000115D    # vcr.Timer
	'VCR.OSD'             0x000000000000114F    # vcr.OSD
	'VCR.MENU'            0x0000000000000152    # vcr.Menu
	'VCR.OK'              0x0000000000000157    # vcr.OK
	'VCR.LEFT'            0x0000000000000155    # vcr.Left
	'VCR.RIGHT'           0x0000000000000156    # vcr.Right
	'VCR.UP'              0x0000000000000150    # vcr.Up
	'VCR.DOWN'            0x0000000000000151    # vcr.Down
	'VCR.PROGRAM+'        0x0000000000001160    # vcr.Program+
	'VCR.PROGRAM-'        0x0000000000001161    # vcr.Program-
	'VCR.AUDIO'           0x0000000000001163    # vcr.Audio
	'VCR.STILL'           0x0000000000001169    # vcr.Still
	'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.OSD'             0x000000000000114F    # vcr.OSD
	'VCR.INDEX'           0x0000000000000170    # vcr.Index

	'SAT.STANDBY'         0x000000000000120C    # sat.Standby
	'SAT.EXTERNAL'        0x0000000000001238    # sat.External
	'SAT.MENU'            0x0000000000000212    # sat.Menu
	'SAT.OK'              0x0000000000000217    # sat.OK
	'SAT.LEFT'            0x0000000000000215    # sat.Left
	'SAT.RIGHT'           0x0000000000000216    # sat.Right
	'SAT.UP'              0x0000000000000210    # sat.Up
	'SAT.DOWN'            0x0000000000000211    # sat.Down
	'SAT.PROGRAM+'        0x0000000000001220    # sat.Program+
	'SAT.PROGRAM-'        0x0000000000001221    # sat.Program-
	'SAT.AUDIO'           0x0000000000001223    # sat.Audio
	'SAT.1'               0x0000000000001201    # sat.1
	'SAT.2'               0x0000000000001202    # sat.2
	'SAT.3'               0x0000000000001203    # sat.3
	'SAT.4'               0x0000000000001204    # sat.4
	'SAT.5'               0x0000000000001205    # sat.5
	'SAT.6'               0x0000000000001206    # sat.6
	'SAT.7'               0x0000000000001207    # sat.7
	'SAT.8'               0x0000000000001208    # sat.8
	'SAT.9'               0x0000000000001209    # sat.9
	'SAT.0'               0x0000000000001200    # sat.0
	'SAT.OSD'             0x000000000000120F    # sat.OSD
	'SAT.PROGRAM<'        0x0000000000001222    # sat.Program<
      end codes

end remote
