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

	end codes
end remote
