#
# this config file was for a small part automatically generated using
# WinLIRC 0.6.5 (LIRC 0.6.1pre3)
# the main part has been figured out, extracted and decoded manually
# from raw code dumps on Wed Aug 27 2003
#
# contributed by
#
# brand:             Samsung
# model:             PR 427
# supported devices: SVX-305 (VCR)
#
# not all buttons use the same repeat code:
#  some issue single-bit repeat codes with header
#  some just repeat the button code
#  some repeat the button code with shortened gap
# the VCR apparently understands either behaviour for any button and
# accepts the CONST_LENGTH approach used in this config file just fine 
# I left the unused flags/gap sizes in for reference, just commented
# them out, so you can recreate the other repeat behaviours if need be 
#

begin remote

  name  Samsung_VCR
  bits           16
  flags SPACE_ENC|REPEAT_HEADER|CONST_LENGTH
#  flags SPACE_ENC|REPEAT_HEADER
  eps            25
  aeps          100

  header       4560  4410
  one           625  1600
  zero          625   490
  ptrail        625
  repeat        625   490
  pre_data_bits   16
  pre_data       0xA0A0
  gap         100000
#  gap          97350
#  repeat_gap   48900
#  repeat_gap   30800
  toggle_bit      0


      begin codes
          Power                    0x00000000000040BF
          1/17                     0x00000000000020DF
          2/18                     0x000000000000A05F
          3/19                     0x000000000000609F
          4/20                     0x00000000000010EF
          5/21                     0x000000000000906F
          6/22                     0x00000000000050AF
          7/23                     0x00000000000030CF
          8/24                     0x000000000000B04F
          9/25                     0x000000000000708F
          10/26                    0x0000000000008877
          11/27                    0x000000000000C03F
          12/28                    0x000000000000E01F
          13/29                    0x000000000000D02F
          14/30                    0x000000000000F00F
          15/31                    0x000000000000C837
          16/32                    0x000000000000E817
          Channel_Down             0x00000000000008F7
          2nd                      0x00000000000000FF
          Channel_Up               0x00000000000048B7
          Rec                      0x00000000000028D7
          Play                     0x0000000000009867
          Stop                     0x000000000000A857
          Rew                      0x00000000000018E7
          P/S                      0x0000000000006897
          FF                       0x00000000000058A7
      end codes

end remote
