#
# this is a shift encoded remote control from philips
#
# contributed by Per-Henrik Persson (vajper@datorklubben.ml.org)
#
# brand:             Philips
# model:             RC5420
# supported devices: unknown TV set
#

begin remote

  name  PHILIPS_TV
  bits            6
  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   7
  pre_data       0x40
  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
          KEY_POWER                    0x000000000000000C
          RESET                    0x000000000000000E
          KEY_MUTE                     0x000000000000000D
                                0x0000000000000038
                               0x000000000000000A
          KEY_VOLUMEUP                   0x0000000000000010
                              0x0000000000000012
                             0x0000000000000014
          KEY_VOLUMEDOWN                 0x0000000000000011
                              0x0000000000000013
                             0x000000000000000E
                           0x0000000000000032
                           0x0000000000000034
                            0x000000000000003C
          TIMER                    0x0000000000000037
                           0x0000000000000036
                           0x0000000000000035
      end codes

end remote
