#
# this is a space encoded remote control with special repeat code
# from Yamaha
#
# contributed by Pablo d'Angelo (pablo.angelo@student.uni-ulm.de)
#
# brand:             Yamaha
# model:             unknown
# supported devices: receiver RX-395-RDS
#                    amplifier AX-570
#		     cd player CDX-570
#

begin remote

  name  YAMAHA
  bits           16
  flags SPACE_ENC|REVERSE
  eps            50
  aeps            0

  header       9050  4500
  one           600  1650
  zero          600   550
  ptrail        600
  plead           0
  foot            0     0
  repeat       9100  2300
  pre_data_bits   16
  pre_data       0x857A
  post_data_bits  0
  post_data      0x0
  pre             0     0
  post            0     0
  gap          50000
  repeat_bit      0

      begin codes
          CD_PLAY                  0x000000000000F708
          CD_PAUSE/STOP            0x000000000000F609
          CD_SEARCH_>              0x000000000000F30C
          CD_SEARCH_<              0x000000000000F20D
          CD_TRACK_+               0x000000000000F50A
          CD_TRACK_-               0x000000000000F40B
          CD_DISK                  0x000000000000B04F
          TAPE_PLAY                0x000000000000FF00
          TAPE_STOP                0x000000000000FC03
          TAPE_SEARCH_>            0x000000000000FD02
          TAPE_SEARCH_<            0x000000000000FE01
          TAPE_DIR_A               0x000000000000F807
          TAPE_DIR_B               0x000000000000BF40
          TAPE_REC/PAUSE           0x000000000000FB04
          TAPE_REC/MUTE            0x000000000000FA05
          TAPE_A/B                 0x000000000000F906
          AMP_AUX                  0x000000000000E817
          AMP_TAPE1                0x000000000000E718
          AMP_TAPE2                0x000000000000E619
          AMP_TUNER                0x000000000000E916
          AMP_CD                   0x000000000000EA15
          AMP_PHONO                0x000000000000EB14
          AMP_SLEEP                0x000000000000A857
          AMP_POWER                0x000000000000E01F
          VOL_UP                   0x000000000000E51A
          VOL_DOWN                 0x000000000000E41B
          TUNER_PRESET_+           0x000000000000EF10
          TUNER_PRESET_-           0x000000000000EE11
          TUNER_ABCDE              0x000000000000ED12
          EQ_PRESET_SKIP           0x000000000000A45B
          EQ_ON/FLAT               0x000000000000A55A
          PHONO_PLAY/CUT           0x000000000000F10E
      end codes

end remote

