#------------------------------------------------------------------------------
# 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

		KEY_0				0x0000000000000000
		KEY_1				0x0000000000000001
		KEY_2				0x0000000000000002
		KEY_3				0x0000000000000003
		KEY_4				0x0000000000000004
		KEY_5				0x0000000000000005
		KEY_6				0x0000000000000006
		KEY_7				0x0000000000000007
		KEY_8				0x0000000000000008
		KEY_9				0x0000000000000009
						0x000000000000000a
						0x000000000000000b
		KEY_POWER				0x000000000000000c
		KEY_MUTE				0x000000000000000d
						0x000000000000000e
		KEY_MENU				0x000000000000000f
		KEY_VOLUMEUP				0x0000000000000010
		KEY_VOLUMEDOWN			0x0000000000000011
					0x0000000000000012
					0x0000000000000013
					0x0000000000000014
					0x0000000000000015
		KEY_UP				0x0000000000000016
		KEY_DOWN				0x0000000000000017
		KEY_LEFT				0x0000000000000018
		KEY_RIGHT				0x0000000000000019
		KEY_OK				0x000000000000001a
						0x000000000000001b
						0x000000000000001c
					0x000000000000001d
						0x000000000000001e
						0x000000000000001f
						0x0000000000000020
		 			0x0000000000000021
					0x0000000000000022
						0x0000000000000023
		16:9				0x0000000000000024
						0x0000000000000025
		KEY_SLEEP				0x0000000000000026
						0x0000000000000027
						0x0000000000000028
					0x0000000000000029
					0x000000000000002a
					0x000000000000002b
					0x000000000000002c
					0x000000000000002d
						0x000000000000002e
						0x000000000000002f
						0x0000000000000030
						0x0000000000000031
		KEY_YELLOW				0x0000000000000032
		KEY_BLUE				0x0000000000000034
					0x0000000000000035
		KEY_GREEN				0x0000000000000036
		KEY_RED				0x0000000000000037
						0x0000000000000038
						0x0000000000000039
						0x000000000000003a
						0x000000000000003b
						0x000000000000003c
						0X000000000000003D
						0X000000000000003E
		KEY_TV				0x000000000000003f

	end codes
end remote


