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

end remote
