#
# this config file was partly generated automatically
# using lirc-0.5.5pre8 on Tue Apr  4 20:21:45 2000
#
# contributed by  Peter Eschholz <peter@eschholz.de>
#
# brand:             PIONEER
# model:             PD-F1007 (CD-Changer for 301 CD's)
# supported devices: only tested with PIONEER PD-F1007
#
# This remote control uses a variation of the NEC protocol that is not
# fully supported by LIRC. Certain keys send a 'pre' code before the
# actual signal, e.g. 'pre1' is sent before the code for 'mode',
# 'input' and 'minus'. Unfortunately the key mapping is ambiguous if
# you don't take the pre code into account.
# Don't expect this feature to be fully supported by LIRC in the near
# future... If you only want to send these key codes it's not really a
# problem: you only have to make sure that you send the correct pre
# code before the actual key code.

begin remote
 
  name  pioneer
  bits           16
  flags SPACE_ENC
  eps            30
  aeps          100
 
  header       8462  4309
  one           480   583
  zero          480  1647
  ptrail        480
  pre_data_bits   16
  pre_data       0xBA45
  gap          25465
  repeat_bit      0
 
      begin codes

# if you need mode, input, minus
# please send before 'pre1'

	'PRE1'                0x0000000000007C83    # pre1
	'MODE'                0x00000000000036c9    # mode
	'INPUT'               0x00000000000056a9    # input
	'MINUS'               0x000000000000c639    # minus

# if you need left, right, previous
# please send before 'pre2'

	'PRE2'                0x0000000000009c63    # pre2
	'LEFT'                0x000000000000c639    # left
	'RIGHT'               0x00000000000026d9    # right
	'PREVIOUS'            0x00000000000036c9    # previous

# if you need best, search, display
# please send before 'pre3'

	'PRE3'                0x000000000000bc43    # pre3
	'BEST'                0x00000000000026d9    # best
	'SEARCH'              0x00000000000056a9    # search
	'DISPLAY'             0x000000000000d629    # display

	'1'                   0x0000000000007F80    # 1
	'2'                   0x000000000000BF40    # 2
	'3'                   0x0000000000003FC0    # 3
	'4'                   0x000000000000DF20    # 4
	'5'                   0x0000000000005FA0    # 5
	'6'                   0x0000000000009F60    # 6
	'7'                   0x0000000000001FE0    # 7
	'8'                   0x000000000000EF10    # 8
	'9'                   0x0000000000006F90    # 9
	'0'                   0x000000000000FF00    # 0
	'DISC_SET'            0x0000000000007D82    # disc_set
	'TRACK_SET'           0x000000000000FD02    # track_set
	'PLUS'                0x00000000000047B8    # plus
	'REW'                 0x0000000000000FF0    # rew
	'FWD'                 0x0000000000008F70    # fwd
	'DOWN'                0x0000000000007788    # down
	'UP'                  0x000000000000F708    # up
	'STOP'                0x0000000000009768    # stop
	'PAUSE'               0x000000000000E718    # pause
	'PLAY'                0x00000000000017E8    # play
	'RANDOM'              0x000000000000AD52    # random
	'TIME'                0x0000000000003DC2    # time
	'HI-LITE'             0x000000000000857A    # hi-lite
	'REPEAT'              0x000000000000CF30    # repeat
	'PGM'                 0x0000000000004FB0    # pgm
	'CLEAR'               0x0000000000005DA2    # clear
	'POWER'               0x000000000000C738    # power
      end codes
 
end remote
