#
# this is a shift encoded remote control from philips
#
# contributed by <Karsten.Knorr@Knorrs-World.com>
#
# based upon the config-file for the 
#   Philips RD6835 for CD-player
# contributed by <claas@bigfoot.com>
#
# brand:             Philips
# model:             RD 5862
# supported devices: CD-player
#
# Comments:
#
# The RD 5862 does not have a "scan" button, but the config-file will
# also work with other Philips CD-player remotes which might have it


begin remote

  name  PHILIPS_CD
  bits            6
  flags SHIFT_ENC|CONST_LENGTH
  eps            20
  aeps            0

  one           940   840
  zero          940   840
  ptrail          0
  plead         940
  pre_data_bits   7
  pre_data       0x54
  gap          115200
  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
          SCAN                     0x000000000000002B
          OPEN/CLOSE               0x000000000000002D
          REPEAT                   0x000000000000001D
          PAUSE                    0x0000000000000030
          RANDOM                   0x000000000000001C
          NEXT_TRACK               0x0000000000000020
          PREV_TRACK               0x0000000000000021
          PLAY                     0x0000000000000035
          STOP                     0x0000000000000036
          DIRECT_PR/PLAY           0x0000000000000024 
          NEXT_INDEX               0x0000000000000022
          PREV_INDEX               0x0000000000000023
          SEARCH_BACKW             0x0000000000000032 
          SEARCH_FORW              0x0000000000000034
          FAST                     0x000000000000002F
          A/B                      0x000000000000003B
          TIME                     0x000000000000000B
          REVIEW                   0x000000000000000F
          C                        0x0000000000000031
          S                        0x0000000000000029
      end codes

end remote


begin remote

  name  PHILIPS_LV2
  bits            6
  flags SHIFT_ENC|CONST_LENGTH
  eps            20
  aeps            0

  one           940   840
  zero          940   840
  ptrail          0
  plead         940
  pre_data_bits   7
  pre_data       0x14
  gap          115200
  repeat_bit      2

      begin codes
          FTS                      0x000000000000002c
      end codes

end remote

