#
# this config file was automatically generated
# using lirc-0.6.5(serial) on Sat May 18 01:55:32 2002
#
# contributed by Tom Hudec <Tom.Hudec@ABBA.cz>
#
# brand:                       SONY
# model no. of remote control: RMT-V259K
# devices being controlled by this remote: VCR SONY SLV-SE810K, TV
#	(almost any brand TV, SONY mode included here)
#

# I had to split the config in 2 parts to avoid raw mode.

# I also made the TV mode as another remote (remote name differs) to avoid
# need for different names for the same buttons (POWER, 0-9, PROG, -/-- and
# AUDIO-MONITOR). So you have to include remote = SONY-RMT-V259K or
# remote = SONY-RMT-V259K-TV for distinguishing VCR/TV mode for these buttons.

# VCR part 1
begin remote

  name  SONY-RMT-V259K
  bits           11
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2495   518
  one          1276   518
  zero          677   518
  ptrail        676
  gap          44886
  min_repeat      2
  toggle_bit      0


      begin codes
	'POWER'               0x054d                # POWER
	'EJECT'               0x034d                # EJECT
	'AUDIO-MONITOR'       0x074d                # AUDIO-MONITOR
	'COUNTER/REMAIN'      0x041d                # COUNTER/REMAIN
	'SLOW'                0x062d                # SLOW
	'X2'                  0x014d                # x2
	'INDEX-SEARCH-'       0x075d                # INDEX-SEARCH-
	'INDEX-SEARCH+'       0x035d                # INDEX-SEARCH+
	'DISPLAY'             0x02dd                # DISPLAY
	'SP/LP'               0x00dd                # SP/LP
	'CLEAR'               0x063d                # CLEAR
	'TV/VIDEO'            0x02ad                # TV/VIDEO
	'1'                   0x000d                # 1
	'2'                   0x040d                # 2
	'3'                   0x020d                # 3
	'4'                   0x060d                # 4
	'5'                   0x010d                # 5
	'6'                   0x050d                # 6
	'7'                   0x030d                # 7
	'8'                   0x070d                # 8
	'9'                   0x008d                # 9
	'0'                   0x048d                # 0
	'-/--'                0x028d                # -/--
	'INPUT-SELECT'        0x079d                # INPUT-SELECT
	'PROG-'               0x044d                # PROG-
	'PROG+'               0x004d                # PROG+
	'VOLUMEDOWN'          0x0648                # VOL-
	'VOLUMEUP'            0x0248                # VOL+
	'MENU'                0x059d                # MENU
	'TIMER'               0x003d                # TIMER
	'REC'                 0x05cd                # REC
      end codes

end remote


# VCR part 2
begin remote

  name  SONY-RMT-V259K
  bits           14
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2494   518
  one          1276   518
  zero          677   518
  ptrail       1276
  gap          44887
  min_repeat      2
  toggle_bit      0


      begin codes
	'PLAY'                0x062e                # PLAY
	'PAUSE'               0x1c2e                # PAUSE
	'STOP'                0x3c2e                # STOP
	'REW'                 0x022e                # REW
	'FF'                  0x222e                # FF
	'SMART-SEARCH'        0x0e2e                # SMART-SEARCH
      end codes

end remote


# TV part 1:
begin remote

  name  SONY-RMT-V259K-TV
  bits           11
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2495   518
  one          1276   518
  zero          677   518
  ptrail        676
  gap          44886
  min_repeat      2
  toggle_bit      0


      begin codes
	'POWER'               0x0548                # POWER
	'AUDIO-MONITOR'       0x0748                # AUDIO-MONITOR
	'TELETEXT'            0x07e8                # TELETEXT
	'TV'                  0x00e8                # TV
	'RED'                 0x019c                # RED
	'GREEN'               0x059c                # GREEN
	'YELLOW'              0x039c                # YELLOW
	'BLUE'                0x079c                # BLUE
	'I+'                  0x02e8                # i+
	'AV'                  0x0528                # AV
	'1'                   0x0008                # 1
	'2'                   0x0408                # 2
	'3'                   0x0208                # 3
	'4'                   0x0608                # 4
	'5'                   0x0108                # 5
	'6'                   0x0508                # 6
	'7'                   0x0308                # 7
	'8'                   0x0708                # 8
	'9'                   0x0088                # 9
	'0'                   0x0488                # 0
	'-/--'                0x05c8                # -/--
	'PROG-'               0x0448                # PROG-
	'PROG+'               0x0048                # PROG+
      end codes

end remote


# TV part 2
begin remote

  name  SONY-RMT-V259K-TV
  bits           14
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2494   518
  one          1276   518
  zero          677   518
  ptrail       1276
  gap          44887
  min_repeat      2
  toggle_bit      0


      begin codes
	'WIDE'                0x2f12                # WIDE
      end codes

end remote
