@DefineProto
	//Generates default.ini for forced installation
	@Void @MakeDefaults ( @Void )
@EndProto


@DefineFunc @Void @MakeDefaults ( @Void )
@Write("@StartupDrive:\\@StartupDir\\default.ini","wt","@@KeyboardType = \"@KeyboardType\"\n")
@Write(,,"@@JFWDrive = @JFWDrive\n")
@Write(,,"@@JFWDir = \"@DoubleBSlash@DoubleBSlash@JFWDir\"\n")

@Write(,,"@@NumSynths = @NumSynths\n")
@Write(,,"@@PrimarySynth = \"@PrimarySynth\"\n")
@Write(,,"@@PrimarySynthShort = \"@PrimarySynthShort\"\n")
@Write(,,"@@PrimarySynthFull = \"@PrimarySynthFull\"\n")
@Write(,,"@@PrimarySynthType = \"@PrimarySynthType\"\n")
@Write(,,"@@PrimarySynthPort = \"@PrimarySynthPort\"\n")
@Write(,,"@@PrimarySynthPortInfo = \"@PrimarySynthPortInfo\"\n")
@Write(,,"@@PrimarySynthExtra = \"@PrimarySynthExtra\"\n")
@If (@NumSynths > 1)
@Write(,,"@@SecondarySynth = \"@SecondarySynth\"\n")
@Write(,,"@@SecondarySynthShort = \"@SecondarySynthShort\"\n")
@Write(,,"@@SecondarySynthFull = \"@SecondarySynthFull\"\n")
@Write(,,"@@SecondarySynthType = \"@SecondarySynthType\"\n")
@Write(,,"@@SecondarySynthPort = \"@SecondarySynthPort\"\n")
@Write(,,"@@SecondarySynthPortInfo = \"@SecondarySynthPortInfo\"\n")
@Write(,,"@@SecondarySynthExtra = \"@SecondarySynthExtra\"\n")
@Endif
@If (@NumSynths > 2)
@Write(,,"@@TertiarySynth = \"@TertiarySynth\"\n")
@Write(,,"@@TertiarySynthShort = \"@TertiarySynthShort\"\n")
@Write(,,"@@TertiarySynthFull = \"@TertiarySynthFull\"\n")
@Write(,,"@@TertiarySynthType = \"@TertiarySynthType\"\n")
@Write(,,"@@TertiarySynthPort = \"@TertiarySynthPort\"\n")
@Write(,,"@@TertiarySynthPortInfo = \"@TertiarySynthPortInfo\"\n")
@Write(,,"@@TertiarySynthExtra = \"@TertiarySynthExtra\"\n")
@Endif
@Endif

@Write(,,"@@NumBraille = @NumBraille\n")
@Write(,,"@@PrimaryBraille = \"@PrimaryBraille\"\n")
@Write(,,"@@PrimaryBrailleShort = \"@PrimaryBrailleShort\"\n")
@Write(,,"@@PrimaryBrailleFull = \"@PrimaryBrailleFull\"\n")
@Write(,,"@@PrimaryBrailleType = \"@PrimaryBrailleType\"\n")
@Write(,,"@@PrimaryBraillePort = \"@PrimaryBraillePort\"\n")
@Write(,,"@@PrimaryBraillePortInfo = \"@PrimaryBraillePortInfo\"\n")
@Write(,,"@@PrimaryBrailleExtra = \"@PrimaryBrailleExtra\"\n")
@If (@NumBraille > 1)
@Write(,,"@@SecondaryBraille = \"@SecondaryBraille\"\n")
@Write(,,"@@SecondaryBrailleShort = \"@SecondaryBrailleShort\"\n")
@Write(,,"@@SecondaryBrailleFull = \"@SecondaryBrailleFull\"\n")
@Write(,,"@@SecondaryBrailleType = \"@SecondaryBrailleType\"\n")
@Write(,,"@@SecondaryBraillePort = \"@SecondaryBraillePort\"\n")
@Write(,,"@@SecondaryBraillePortInfo = \"@SecondaryBraillePortInfo\"\n")
@Write(,,"@@SecondaryBrailleExtra = \"@SecondaryBrailleExtra\"\n")
@Write(,,"@@AddStartup = @AddStartup\n")
@Endif
@Delete("@StartupDrive:\\@StartupDir\\makedef.ini")
@return()
@EndFunc
