#------------------------------------------------------------------------------
# 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
VOLUME+ 0x0000000000000410
VOLUME- 0x0000000000000411
SHUFFLE 0x000000000000051c
REPEAT 0x000000000000051d
PLAY 0x0000000000000535
TRACK- 0x0000000000000521
TRACK+ 0x0000000000000520
STOP 0x0000000000000536
SEARCH- 0x0000000000000532
SEARCH+ 0x0000000000000534
PRESET+ 0x0000000000000460
PRESET- 0x0000000000000461
TUNING- 0x000000000000045f
TUNING+ 0x000000000000045e
      end codes

end remote


