#
# this config file was 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_RM-S311
# model:             RM-S311
# supported devices: audio system (the most important functions of phono,
#                    tuner, cd, tape and amplifier)
#
# notes : - some of the keys send a 'preamble' first and then another codeblock
#           repeated as long as the key is pressed. These 'preamble' codes have
#           the ending *_PRE .
#         - the other codes are sent at least three times - more if you press
#           the key longer. If you want one keystroke for a short keypress set
#           'repeat' in the .lircrc file to '3'.
#

begin remote

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

  header       2477   538
  one          1258   538
  zero          660   538
  ptrail       0
  gap          26947
  repeat_bit      0

      begin codes
          PLAY_BWD_TAPE2_A         0x0000000000000EC1
          PLAY_FWD_TAPE2_A         0x00000000000004C1
          PLAY_BWD_TAPE2_B         0x000000000000004E
          PLAY_FWD_TAPE2_B         0x000000000000058E
          PLAY_CD                  0x00000000000004D1
          START_PHONO              0x0000000000000141
          STOP_PHONO               0x0000000000000941
          POWER                    0x0000000000000A81
          TUNER                    0x0000000000000841
          -_PRESET_TUNER           0x0000000000000896
          +_PRESET_TUNER           0x0000000000000096
          PREV_CD                  0x00000000000000D1
          NEXT_CD                  0x00000000000008D1
          D.SKIP_CD                0x00000000000007D1
          STOP_CD                  0x00000000000001D1
          PAUSE_CD                 0x00000000000009D1
          REW_TAPE2_A              0x0000000000000CC1
          FF_TAPE2_A               0x00000000000002C1
          STOP_TAPE2_A             0x00000000000001C1
          REC_TAPE2_A              0x00000000000006C1
          REW_TAPE2_B              0x0000000000000D8E
          FF_TAPE2_B               0x000000000000038E
          STOP_TAPE2_B             0x000000000000018E
          REC_TAPE2_B              0x000000000000078E
          DAT/TAPE1                0x0000000000000C41
          PAUSE_TAPE2_B            0x000000000000098E
          AUX                      0x0000000000000B81
          +_VOL                    0x0000000000000481
          -_VOL                    0x0000000000000C81
      end codes

end remote


begin remote

  name   SONY_RM-S311
  flags RAW_CODES
  eps            30
  aeps          100

  ptrail          0
  repeat     0     0
  gap    26947

      begin raw_codes


          name PLAY_TAPE2_PRE
             2511     512     689     510     689     512
             1292     511     690     511     688     513
             1288     514     688     512     689     511
              690     511     690     510     691     512
             1291   26293
	     2511     512     689     510     689     512
             1292     511     690     511     688     513
             1288     514     688     512     689     511
              690     511     690     510     691     512
             1291   26293
             2511     512     689     510     689     512
             1292     511     690     511     688     513
             1288     514     688     512     689     511
              690     511     690     510     691     512
             1291

          name PLAY_CD_PRE
             2488     511    1292     513     686     512
             1289     511     690     511     691     510
             1290     511     691     511     692     511
              689     512     688     509     690     511
             1292   26293
	     2488     511    1292     513     686     512
             1289     511     690     511     691     510
             1290     511     691     511     692     511
              689     512     688     509     690     511
             1292   26293
	     2488     511    1292     513     686     512
             1289     511     690     511     691     510
             1290     511     691     511     692     511
              689     512     688     509     690     511
             1292

          name START_PHONO_PRE
             2510     509     692     509     693     509
              692     509     692     509     691     509
             1295     509     690     516     684     509
              692     511     690     507     694     508
             1292   26293
	     2510     509     692     509     693     509
              692     509     692     509     691     509
             1295     509     690     516     684     509
              692     511     690     507     694     508
             1292   26293
	     2510     509     692     509     693     509
              692     509     692     509     691     509
             1295     509     690     516     684     509
              692     511     690     507     694     508
             1292

      end raw_codes

end remote
