# LIRC config file for Philips 5373
# contributed by  Martin Schuster <Douglas@karanet.at>
#
# brand:                                   Philips
# model no. of remote control:             5373
# devices being controlled by this remote: very old VCR (&TV?)
#
# text beneath the batteries :  3131128 66160
#                               AG00 8672
#                               4822218 20391
#
# I've never used this RC with the device it was made for,
# so I'm just guessing at the meanings of the buttons.
# There's some kind of Shift-button at the left side of the
# RC; it seems to increase the values by 0x1140
# (this gives a total of 90 possible signals :)
# All shifted buttons have an prefix of S_, so shifted [1] is
# S_1. Only exception: The buttons in the last line have
# names (as they also have symbols printed above)
#
# Important: There's an 1000 myF capacitor parallel to the
# batteries; the RC seems to work w/o it, and in fact mine
# has started to leak already (did I mention that it's quite
# old?), so I removed it.
#
# Don't hestitate to email me if you have any questions or want
# to say thanks :))

begin remote

  name  Philips_5373
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           927   848
  zero          927   848
  plead        1041
  gap          113358
  min_repeat      2
  toggle_bit      2


      begin codes
#	number block
          KEY_1                        0x0000000000001001
          KEY_2                        0x0000000000001002
          KEY_3                        0x0000000000001003
          KEY_4                        0x0000000000001004
          KEY_5                        0x0000000000001005
          KEY_6                        0x0000000000001006
          KEY_7                        0x0000000000001007
          KEY_8                        0x0000000000001008
          KEY_9                        0x0000000000001009
          KEY_0                        0x0000000000001000
                                 0x000000000000100A
                                 0x000000000000100B
          KEY_VOLUMEUP                0x0000000000001010
          KEY_VOLUMEDOWN              0x0000000000001011

#	main buttons
          KEY_MUTE                     0x000000000000100D
          KEY_POWER                    0x000000000000100C
                               0x0000000000001023
          KEY_GREEN                    0x000000000000100E
          STEREO                   0x0000000000001024

#	double-buttons
                      0x0000000000001012
                    0x0000000000001013
                        0x0000000000001014
                      0x0000000000001015
                            0x0000000000001016
                          0x0000000000001017
                          0x0000000000001018
                        0x0000000000001019
                      0x000000000000101A
                       0x000000000000101B

#	teletext
                             0x000000000000101D
                          0x000000000000102B
                               0x000000000000102D
          KEY_TV                       0x000000000000103F
#	next line
                            0x000000000000101E
                            0x000000000000102C
                            0x0000000000001029
                            0x000000000000102A
                             0x000000000000102E
          TELETEXT                 0x000000000000103C

#	VCR control (unshifted)
          KEY_RECORD                   0x0000000000001037
          KEY_BACK                     0x000000000000102F
          KEY_STOP                     0x0000000000001036
          KEY_PLAY                     0x0000000000001028
          KEY_FORWARD                  0x0000000000001035
                            0x0000000000001033

#	VCR control (shifted)
          KEY_NEXT                     0x0000000000001177
                          0x000000000000116F
          KEY_DOWN                     0x0000000000001176
                             0x0000000000001168
                       0x0000000000001175

#	SHIFTED codes
                                0x0000000000001141
                                0x0000000000001142
                                0x0000000000001143
                                0x0000000000001144
                                0x0000000000001145
                                0x0000000000001146
                                0x0000000000001147
                                0x0000000000001148
                                0x0000000000001149
                                0x0000000000001140
                               0x000000000000114A
                               0x000000000000114B
                             0x000000000000114D
                            0x000000000000114C
                            0x000000000000114E
                        0x0000000000001150
                      0x0000000000001151
                    0x0000000000001152
                  0x0000000000001153
                      0x0000000000001154
                    0x0000000000001155
                          0x0000000000001156
                        0x0000000000001157
                        0x0000000000001158
                      0x0000000000001159
                    0x000000000000115A
                     0x000000000000115B
                           0x000000000000115D
                          0x000000000000115E
                             0x0000000000001163
                           0x0000000000001164
                        0x000000000000116B
                             0x000000000000116D
                          0x000000000000116C
                          0x0000000000001169
                          0x000000000000116A
                           0x000000000000116E
                               0x000000000000117F
                         0x000000000000117C
                          0x0000000000001173

     end codes
end remote
