#------------------------------------------------------------------------------
# contributed by     Tom Pritchard (tom.pritchard@cantab.net)       15-Aug-2002
#------------------------------------------------------------------------------
#
# filename:		One-For-All 
# encoding:		shift encoded, RC-5
# brand:             	(Philips)
# model:            	(Made-up)
#
# remote model:		 URC-7510 
#
# supported devices: TV (with Text-TV)
#
# Info:
# -----
#
# This is a One-For-All URC-7510 remote.
# Setup it up with the Philips barcode (0081) basic layout (ie power button, then magic)
# But with the following codes programmed to the keys below: (See instructions on "Key Magic")
#
#	MENU		012
#	BLUE		051
#	GREEN		243
#	RED		019
#	YELLOW		115
#	WHITE		211
#	16:9		049
#	UP		239
#	DOWN		015
#	LEFT		174
#	RIGHT		206
#	OK		110	
#
# If you want any help working the translation between One-For-All codes and the
# LIRC codes you see below, mail me - I spent some time working out how it was done!	
#
#------------------------------------------------------------------------------

begin remote

  name  One-For-All
  bits           11 
  flags SHIFT_ENC
  eps            20
  aeps            0

  header          0     0
  one           940   840
  zero          940   840
  ptrail          0
  plead         940
  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          90000
  repeat_bit      2 

      begin codes

		0				0x0000000000000000
		1				0x0000000000000001
		2				0x0000000000000002
		3				0x0000000000000003
		4				0x0000000000000004
		5				0x0000000000000005
		6				0x0000000000000006
		7				0x0000000000000007
		8				0x0000000000000008
		9				0x0000000000000009
		-/--				0x000000000000000a
		0x0B				0x000000000000000b
		POWER				0x000000000000000c
		MUTE				0x000000000000000d
		PP				0x000000000000000e
		MENU				0x000000000000000f
		VOL_UP				0x0000000000000010
		VOL_DOWN			0x0000000000000011
		BRIGHT_PLUS			0x0000000000000012
		BRIGHT_MINUS			0x0000000000000013
		COLOR_PLUS			0x0000000000000014
		COLOR_MINUS			0x0000000000000015
		UP				0x0000000000000016
		DOWN				0x0000000000000017
		LEFT				0x0000000000000018
		RIGHT				0x0000000000000019
		OK				0x000000000000001a
		0x1B				0x000000000000001b
		0x1C				0x000000000000001c
		TEXT_MEMO_OUT			0x000000000000001d
		0x1E				0x000000000000001e
		0x1F				0x000000000000001f
		PRG_UP				0x0000000000000020
		PRG_DOWN 			0x0000000000000021
		PRG_RECALL			0x0000000000000022
		0x23				0x0000000000000023
		16:9				0x0000000000000024
		0x25				0x0000000000000025
		SLEEP				0x0000000000000026
		0x27				0x0000000000000027
		0x28				0x0000000000000028
		TEXT_DECREASE			0x0000000000000029
		TEXT_TIME			0x000000000000002a
		TEXT_INCREASE			0x000000000000002b
		TEXT_REVEAL			0x000000000000002c
		TEXT_SQUISH			0x000000000000002d
		TEXT+TV				0x000000000000002e
		0X2F				0x000000000000002f
		0X30				0x0000000000000030
		WHITE				0x0000000000000031
		YELLOW				0x0000000000000032
		BLUE				0x0000000000000034
		TEXT_INDEX			0x0000000000000035
		GREEN				0x0000000000000036
		RED				0x0000000000000037
		A/V				0x0000000000000038
		0X39				0x0000000000000039
		0X3a				0x000000000000003a
		0X3B				0x000000000000003b
		TEXT				0x000000000000003c
		0x3D				0X000000000000003D
		0x3E				0X000000000000003E
		TV				0x000000000000003f

	end codes
end remote