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

                               0x0000000000007C83
                               0x00000000000036c9
                              0x00000000000056a9
                              0x000000000000c639

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

                               0x0000000000009c63
          KEY_LEFT                     0x000000000000c639
          KEY_RIGHT                    0x00000000000026d9
          KEY_PREVIOUS                 0x00000000000036c9

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

                               0x000000000000bc43
                               0x00000000000026d9
                             0x00000000000056a9
          display                  0x000000000000d629

          KEY_1                        0x0000000000007F80
          KEY_2                        0x000000000000BF40
          KEY_3                        0x0000000000003FC0
          KEY_4                        0x000000000000DF20
          KEY_5                        0x0000000000005FA0
          KEY_6                        0x0000000000009F60
          KEY_7                        0x0000000000001FE0
          KEY_8                        0x000000000000EF10
          KEY_9                        0x0000000000006F90
          KEY_0                        0x000000000000FF00
                           0x0000000000007D82
                          0x000000000000FD02
                               0x00000000000047B8
          KEY_REWIND                      0x0000000000000FF0
          KEY_FORWARD                      0x0000000000008F70
          KEY_DOWN                     0x0000000000007788
          KEY_UP                       0x000000000000F708
          KEY_STOP                     0x0000000000009768
          KEY_PAUSE                    0x000000000000E718
          KEY_PLAY                     0x00000000000017E8
                             0x000000000000AD52
          KEY_TIME                     0x0000000000003DC2
                            0x000000000000857A
          KEY_AGAIN                   0x000000000000CF30
                                0x0000000000004FB0
          KEY_CLEAR                    0x0000000000005DA2
          KEY_POWER                    0x000000000000C738
      end codes
 
end remote
