#
# this is a space encoded 48 bit remote control from Panasonic
#
# The exact models of the remote controls are VEQ1562, VEQ1392, VEQ0932.
# These controls use the same codes, the only difference is that the
# first can send 3 different code types, second can send 2 code types, the
# third can send only one code type, but it has a built in barcode reader to
# program timer recs.
#
# contributed by Sinkovics Zoltan (sinko@szarvas.hu)
#
# brand:             Panasonic
# model:             VEQ1562, VEQ1392, VEQ0932
# supported devices: vcrs:
#                    L-20(VHS)
#                    J-27(VHS)
#                    L-30(VHS)
#                    NV-FS200(SVHS)
#                    HS-1000EG(SVHS)
#

begin remote

  name  panasonic1
  bits           24
  flags SPACE_ENC
  eps            20
  aeps            0

  header       3660  1559
  one           621   252
  zero          621  1114
  ptrail        621
  plead           0
  foot            0     0
  repeat          0     0
  pre_data_bits   24
  pre_data       0xBFFBF6
  post_data_bits  0
  post_data      0x0
  pre             0     0
  post            0     0
  gap          74291
  repeat_bit      0

      begin codes
	'PLAY'                0x0000000000FFAFA6    # play
	'STOP'                0x0000000000FFFFF6    # stop
	'REW'                 0x0000000000FFBFB6    # rew
	'FF'                  0x0000000000FF3F36    # ff
	'PAUSE'               0x0000000000FF9F96    # pause
	'SLOW'                0x0000000000FF0F06    # slow
	'CHANNELUP'           0x0000000000FFD3DA    # chup
	'CHANNELDOWN'         0x0000000000FF535A    # chdn
	'REC'                 0x0000000000FFEFE6    # rec
	'OPERATE'             0x0000000000FF434A    # operate
	'DISPLAY'             0x00000000007F058C    # display
	'INDEX_BACK'          0x0000000000FF6D64    # index_back
	'INDEX_NEXT'          0x0000000000FFADA4    # index_next
	'1'                   0x0000000000FFF7FE    # 1
	'2'                   0x0000000000FF777E    # 2
	'3'                   0x0000000000FFB7BE    # 3
	'4'                   0x0000000000FF373E    # 4
	'5'                   0x0000000000FFD7DE    # 5
	'6'                   0x0000000000FF575E    # 6
	'7'                   0x0000000000FF979E    # 7
	'8'                   0x0000000000FF171E    # 8
	'9'                   0x0000000000FFE7EE    # 9
	'0'                   0x0000000000FF676E    # 0
	'AUDIO_OUT'           0x0000000000FF333A    # audio_out
	'INDEX_ERASE'         0x0000000000FFCDC4    # index_erase
	'INDEX_WRITE'         0x0000000000FF2D24    # index_write
	'TRACKING-'           0x0000000000FFB2BB    # tracking-
	'TRACKING+'           0x0000000000FF727B    # tracking+
	'LP/SP'               0x00000000007FAF26    # lp/sp
	'AV_LINK'             0x0000000000FF939A    # av_link
	'-/--'                0x0000000000FF232A    # -/--
	'TAPE_SELECT'         0x00000000007FF871    # tape_select
	'CHECK'               0x00000000007F7FF6    # check
      end codes

end remote


begin remote

  name  panasonic2
  bits           24
  flags SPACE_ENC
  eps            20
  aeps            0

  header       3660  1560
  one           624   249
  zero          624  1109
  ptrail        624
  plead           0
  foot            0     0
  repeat          0     0
  pre_data_bits   24
  pre_data       0xBFFBF6
  post_data_bits  0
  post_data      0x0
  pre             0     0
  post            0     0
  gap          74287
  repeat_bit      0

      begin codes
	'PLAY'                0x0000000000FBAFA2    # play
	'STOP'                0x0000000000FBFFF2    # stop
	'REW'                 0x0000000000FBBFB2    # rew
	'FF'                  0x0000000000FB3F32    # ff
	'PAUSE'               0x0000000000FB9F92    # pause
	'SLOW'                0x0000000000FB0F02    # slow
	'CHANNELUP'           0x0000000000FBD3DE    # chup
	'CHANNELDOWN'         0x0000000000FB535E    # chdn
	'REC'                 0x0000000000FBEFE2    # rec
	'OPERATE'             0x0000000000FB434E    # operate
	'DISPLAY'             0x00000000007B0588    # display
	'INDEX_BACK'          0x0000000000FB6D60    # index_back
	'INDEX_NEXT'          0x0000000000FBADA0    # index_next
	'1'                   0x0000000000FBF7FA    # 1
	'2'                   0x0000000000FB777A    # 2
	'3'                   0x0000000000FBB7BA    # 3
	'4'                   0x0000000000FB373A    # 4
	'5'                   0x0000000000FBD7DA    # 5
	'6'                   0x0000000000FB575A    # 6
	'7'                   0x0000000000FB979A    # 7
	'8'                   0x0000000000FB171A    # 8
	'9'                   0x0000000000FBE7EA    # 9
	'0'                   0x0000000000FB676A    # 0
	'-/--'                0x0000000000FB232E    # -/--
	'TRACKING-'           0x0000000000FBB2BF    # tracking-
	'TRACKING+'           0x0000000000FB727F    # tracking+
	'INDEX_ERASE'         0x0000000000FBCDC0    # index_erase
	'INDEX_WRITE'         0x0000000000FB2D20    # index_write
	'AUDIO_OUT'           0x0000000000FB333E    # audio_out
	'TAPE_SELECT'         0x00000000007BF875    # tape_select
	'AV_LINK'             0x0000000000FB939E    # av_link
	'LP/SP'               0x00000000007BAF22    # lp/sp
	'CHECK'               0x00000000007B7FF2    # check
      end codes

end remote


begin remote

  name  panasonic3
  bits           24
  flags SPACE_ENC
  eps            20
  aeps            0

  header       3660  1560
  one           623   249
  zero          623  1111
  ptrail        623
  plead           0
  foot            0     0
  repeat          0     0
  pre_data_bits   24
  pre_data       0xBFFBF6
  post_data_bits  0
  post_data      0x0
  pre             0     0
  post            0     0
  gap          74288
  repeat_bit      0

      begin codes
	'PLAY'                0x0000000000FEAFA7    # play
	'STOP'                0x0000000000FEFFF7    # stop
	'REW'                 0x0000000000FEBFB7    # rew
	'FF'                  0x0000000000FE3F37    # ff
	'PAUSE'               0x0000000000FE9F97    # pause
	'SLOW'                0x0000000000FE0F07    # slow
	'CHANNELUP'           0x0000000000FED3DB    # chup
	'CHANNELDOWN'         0x0000000000FE535B    # chdn
	'REC'                 0x0000000000FEEFE7    # rec
	'OPERATE'             0x0000000000FE434B    # operate
	'DISPLAY'             0x00000000007E058D    # display
	'INDEX_BACK'          0x0000000000FE6D65    # index_back
	'INDEX_NEXT'          0x0000000000FEADA5    # index_next
	'1'                   0x0000000000FEF7FF    # 1
	'2'                   0x0000000000FE777F    # 2
	'3'                   0x0000000000FEB7BF    # 3
	'4'                   0x0000000000FE373F    # 4
	'5'                   0x0000000000FED7DF    # 5
	'6'                   0x0000000000FE575F    # 6
	'7'                   0x0000000000FE979F    # 7
	'8'                   0x0000000000FE171F    # 8
	'9'                   0x0000000000FEE7EF    # 9
	'0'                   0x0000000000FE676F    # 0
	'-/--'                0x0000000000FE232B    # -/--
	'TRACKING-'           0x0000000000FEB2BA    # tracking-
	'TRACKING+'           0x0000000000FE727A    # tracking+
	'INDEX_ERASE'         0x0000000000FECDC5    # index_erase
	'INDEX_WRITE'         0x0000000000FE2D25    # index_write
	'AUDIO_OUT'           0x0000000000FE333B    # audio_out
	'TAPE_SELECT'         0x00000000007EF870    # tape_select
	'AV_LINK'             0x0000000000FE939B    # av_link
	'LP/SP'               0x00000000007EAF27    # lp/sp
	'CHECK'               0x00000000007E7FF7    # check
      end codes

end remote
