#------------------------------------------------------------------------------
# contributed by     Claas Langbehn (claas@bigfoot.com)         01-May-2000
#------------------------------------------------------------------------------
#
# filename:			 RC-5
# encoding:			 shift encoded, RC-5
# brand:             Philips (and others)
# model:             all
# supported devices: all 
#
# This is the code for all RC-5 coded remote controls.
# There are 32 different systems with 64 commands each.
#
#
# Known system adresses:
# ----------------------
#	0x00		TV
#	0x02		Teletext
#	0x05		VCR1
#	0x14		CD-Player
#	0x16		Preamp
#	0x17		Receiver / Tuner
#	0x18  		Tape
# 
# Not recognized are some keys on VCR remotes (e.g. Philips rt 420) to program
# the timer, cassette length and some other very special keys. Those keys seem 
# not to use the RC-5 protocol. I am not sure what that is. Maybe RC-6, but I 
# did not find any documentation about RC-6. If you have got a RC-6 data sheet,
# please mail me.
#
# Another thing is, that this file is way to long to be used for everyday 
# usage. You should better get a custom config file for your remote control.
# This file is supposed to be for developers only.
#
# If you figure another system adress out which is not yet listed above, please
# write me a short mail which type of device, brand, etc. Just the usual infos.
#
#
#------------------------------------------------------------------------------

begin remote

  name  PHILIPS_RC-5
  bits           11 
  flags RC5|CONST_LENGTH
  eps            20
  aeps            0

  header          0     0
  one           889  889
  zero          889  889
  plead         889
  ptrail          0
  foot            0     0
  repeat          0     0
  pre_data_bits   2 
  pre_data       0x02
  post_data_bits  0
  post_data      0x0
  pre             0     0
  post            0     0
  gap          113792
  toggle_bit      2
  frequency    36000
  duty_cycle   50

begin codes
          power                    0x000000000000000C
          play                     0x0000000000000020
          stop                     0x0000000000000021
          <                        0x0000000000000011
          >                        0x0000000000000010
          v-                       0x000000000000000F
          v+                       0x000000000000003C
          1                        0x0000000000000001
          2                        0x0000000000000002
          3                        0x0000000000000003
          4                        0x0000000000000004
          5                        0x0000000000000005
          6                        0x0000000000000006
          7                        0x0000000000000007
          8                        0x0000000000000008
          9                        0x0000000000000009
          pp                       0x000000000000000E
          xdinam                   0x000000000000000D
          0                        0x0000000000000000
          menu                     0x0000000000000012
          -/-                      0x0000000000000013
          1down                    0x000000000000001C
          1up                      0x000000000000001D
          -/-                      0x000000000000000A
          (=)                      0x0000000000000026
          >>|                      0x000000000000001E
          M                        0x0000000000000029
          up                       0x000000000000002B
          down                     0x000000000000002C
          menu                     0x0000000000000032
          sinii                    0x0000000000000034
          zelenyi                  0x0000000000000036
          -/-                      0x0000000000000037
          screen                   0x000000000000003B
          tv                       0x000000000000003F
          screen                   0x0000000000000042
end codes
end remote



