#------------------------------------------------------------------------------
# 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
#
#------------------------------------------------------------------------------

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
	0	0x0000000000000140
	1	0x0000000000000141
	2	0x0000000000000142
	3	0x0000000000000143
	4	0x0000000000000144
	5	0x0000000000000145
	6	0x0000000000000146
	7	0x0000000000000147
	8	0x0000000000000148
	9	0x0000000000000149
	GUIDE	0x000000000000014a
	SELECT	0x000000000000014b
	POWER	0x000000000000014c
	Mute	0x000000000000014d
	Move	0x000000000000014e
	VOL+	0x0000000000000150
	VOL-	0x0000000000000151
	PREVCH	0x0000000000000152
	NEXTCH	0x0000000000000153
	SLOMO	0x0000000000000154
	ANGLE	0x0000000000000155
	MENU	0x000000000000015d
	SUBT	0x000000000000015e
	CH+	0x0000000000000160
	CH-	0x0000000000000161
	PIP	0x0000000000000162
	Swap	0x0000000000000163
	PAUSE	0x0000000000000169
	PVRMENU	0x000000000000016e
	EXIT	0x0000000000000171
	REW	0x0000000000000172
	REPLAY	0x0000000000000173
	FFW	0x0000000000000174
	PLAY	0x0000000000000175
	STOP	0x0000000000000176
	REC	0x0000000000000177
	SKIP	0x0000000000000178
	Prev	0x000000000000017b
	INFO	0x000000000000017c
	TV/VID	0x000000000000017e
	Audio	0x000000000000017f
	THDN	0x0000000000000268
	THUP	0x0000000000000269
      end codes

end remote

begin remote

  name  PHILIPS_RC-5_ALT
  bits           13
  flags RC5|CONST_LENGTH
  eps            20
  aeps            0

  one           889   889
  zero          889   889
  plead         889
  gap          113792
  min_repeat      1
  toggle_bit      2

  frequency    36000
  duty_cycle   50

      begin codes
          LEFT                     0x0000000000000155
          RIGHT                    0x0000000000000156
      end codes

end remote


