
#
# this config file was originally generated
# using lirc-0.5.5pre3 on Tue Mar 16 20:27:40 1999
# it won't work with older versions!!!
#
# contributed by Tobias Rapp
#
# brand:             SONY
# model:             RM-S311
# supported devices: audio system (the most important functions of phono,
#                    tuner, cd, tape and amplifier)
#
# notes : - some of the keys send an input selector code first, e.g. the
#           cd play key first sends the CD code and then the PLAY_CD code
#           repeated as long as the key is hold down
#         - the frequency and duty_cycle options are taken from the generic
#           template file 'SONY12.conf'
#

begin remote

  name  SONY_RM-S311
  bits           12
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       2400   600
  one          1200   600
  zero          600   600
  gap          45000
  min_repeat      2
  toggle_bit      0

  frequency    40000
  duty_cycle   33

      begin codes
#         amplifier input select
	'DAT/TAPE1'           0x0000000000000C41    # DAT/TAPE1
	'TAPE2/MD'            0x0000000000000241    # TAPE2/MD
	'AUX'                 0x0000000000000B81    # AUX
	'CD'                  0x0000000000000A41    # CD
	'TUNER'               0x0000000000000841    # TUNER
	'PHONO'               0x0000000000000041    # PHONO

#         other amplifier keys
	'POWER'               0x0000000000000A81    # POWER
	'+_VOL'               0x0000000000000481    # +_VOL
	'-_VOL'               0x0000000000000C81    # -_VOL

#         other devices
	'PLAY_CD'             0x00000000000004D1    # PLAY_CD
	'PREV_CD'             0x00000000000000D1    # PREV_CD
	'NEXT_CD'             0x00000000000008D1    # NEXT_CD
	'D.SKIP_CD'           0x00000000000007D1    # D.SKIP_CD
	'STOP_CD'             0x00000000000001D1    # STOP_CD
	'PAUSE_CD'            0x00000000000009D1    # PAUSE_CD

	'PLAY_BWD_TAPE2_A'    0x0000000000000EC1    # PLAY_BWD_TAPE2_A
	'PLAY_FWD_TAPE2_A'    0x00000000000004C1    # PLAY_FWD_TAPE2_A
	'REW_TAPE2_A'         0x0000000000000CC1    # REW_TAPE2_A
	'FF_TAPE2_A'          0x00000000000002C1    # FF_TAPE2_A
	'STOP_TAPE2_A'        0x00000000000001C1    # STOP_TAPE2_A
	'REC_TAPE2_A'         0x00000000000006C1    # REC_TAPE2_A

	'PLAY_BWD_TAPE2_B'    0x000000000000004E    # PLAY_BWD_TAPE2_B
	'PLAY_FWD_TAPE2_B'    0x000000000000058E    # PLAY_FWD_TAPE2_B
	'REW_TAPE2_B'         0x0000000000000D8E    # REW_TAPE2_B
	'FF_TAPE2_B'          0x000000000000038E    # FF_TAPE2_B
	'STOP_TAPE2_B'        0x000000000000018E    # STOP_TAPE2_B
	'REC_TAPE2_B'         0x000000000000078E    # REC_TAPE2_B
	'PAUSE_TAPE2_B'       0x000000000000098E    # PAUSE_TAPE2_B

	'START_PHONO'         0x0000000000000141    # START_PHONO
	'STOP_PHONO'          0x0000000000000941    # STOP_PHONO

	'-_PRESET_TUNER'      0x0000000000000896    # -_PRESET_TUNER
	'+_PRESET_TUNER'      0x0000000000000096    # +_PRESET_TUNER
      end codes

end remote
