#
# contributed by Martin Mares <mj@ucw.cz>
#
# brand:             Panasonic
# model:             VEQ2051
# supported devices: 
#

begin remote

  name		VEQ2051
  bits		   32
  flags		SPACE_ENC
  eps		   30
  aeps		  100

  header	 3640  1585
  one		  508  1243
  zero		  508   358
  ptrail	  473
  pre_data_bits	   16
  pre_data	0x4004
  gap		74694
  toggle_bit	    0

  begin codes

# This RC is can control either a VCR or a TV set, depending on the position
# of a mode (VCR/TV) switch.

# VCR control keys (generate VCR codes in both modes):
	REW                 0x09004049
	PLAY                0x09005059
	STOP                0x09000009
	FFWD                0x0900C0C9
	OK                  0x09801A93
	EXIT                0x098066EF
	MENU                0x09806AE3
	SHOW_VIEW           0x0980BA33
	PAUSE/SLOW          0x09006069
	REC                 0x09001019
	SEARCH              0x0980B930
	INDEX_PREV          0x0900929B
	INDEX_NEXT          0x0900525B
	RED_+               0x09800980
	RED_-               0x09808900
	GREEN_+             0x098049C0
	GREEN_-             0x0980C940
	YELLOW_+            0x098029A0
	YELLOW_-            0x0980A920
	BLUE_+              0x098069E0
	BLUE_-              0x0980E960
	PROG/CHECK          0x09808009
	CANCEL              0x09809019
	VPS/PDC             0x098060E9
	SP/LP               0x098050D9
	TIMER_REC           0x09002D24
	AV_LINK             0x09006C65
	AUDIO_OUT           0x0900CCC5
	OSD/DISPLAY         0x0980FA73
	RESET               0x09002A23
	DIRECT_TV_REC       0x0900434A
# TV only keys (generate TV codes in both modes):
	TV_VOLUME_+         0x01000405
	TV_VOLUME_-         0x01008485
# Shared keys, VCR mode:
	1                   0x09000801
	2                   0x09008881
	3                   0x09004841
	4                   0x0900C8C1
	5                   0x09002821
	6                   0x0900A8A1
	7                   0x09006861
	8                   0x0900E8E1
	9                   0x09001811
	AV                  0x0900030A
	0                   0x09009891
	-/--                0x0900DCD5
	TRACKING_+          0x09002C25
	TRACKING_-          0x0900ACA5
	POWER               0x0900BCB5
#       TV/TEXT		    --doesn't generate anything--
# Shared keys, TV mode:
	TV_1                0x01000809
	TV_2                0x01008889
	TV_3                0x01004849
	TV_4                0x0100C8C9
	TV_5                0x01002829
	TV_6                0x0100A8A9
	TV_7                0x01006869
	TV_8                0x0100E8E9
	TV_9                0x01001819
	TV_AV               0x0100A0A1
	TV_0                0x01009899
	TV_-/--             0x0100DCDD
	TV_+                0x01002C2D
	TV_-                0x0100ACAD
	TV_POWER            0x0100BCBD
	TV_TV/TEXT          0x0180C041
  end codes

end remote
