Skip to content

Commit

Permalink
Add default values and tooltips.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube committed Mar 23, 2021
1 parent 5a00d25 commit 10cb18e
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 33 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30626.31
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kuuube's_CHATTER_EXTERMINATOR", "Kuuube's_CHATTER_EXTERMINATOR.csproj", "{91B08978-9DA2-442D-AEB5-3028314019FB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTabletDriver.Plugin", "..\.modules\OpenTabletDriver\OpenTabletDriver.Plugin\OpenTabletDriver.Plugin.csproj", "{F79555FA-3F36-4E0B-BEAA-3B7604243D8B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{91B08978-9DA2-442D-AEB5-3028314019FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91B08978-9DA2-442D-AEB5-3028314019FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91B08978-9DA2-442D-AEB5-3028314019FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91B08978-9DA2-442D-AEB5-3028314019FB}.Release|Any CPU.Build.0 = Release|Any CPU
{F79555FA-3F36-4E0B-BEAA-3B7604243D8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F79555FA-3F36-4E0B-BEAA-3B7604243D8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F79555FA-3F36-4E0B-BEAA-3B7604243D8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F79555FA-3F36-4E0B-BEAA-3B7604243D8B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1F77B73E-8B76-43DD-AA92-41A17D23F4D5}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30626.31
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kuuube's_CHATTER_EXTERMINATOR", "Kuuube's_Chatter_Exterminator\Kuuube's_CHATTER_EXTERMINATOR.csproj", "{B800DD4F-02E9-4461-891E-16CAF39703DE}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTabletDriver.Plugin", ".modules\OpenTabletDriver\OpenTabletDriver.Plugin\OpenTabletDriver.Plugin.csproj", "{3F6D7FA0-E405-4F82-8F08-21CB9305CA2F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B800DD4F-02E9-4461-891E-16CAF39703DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B800DD4F-02E9-4461-891E-16CAF39703DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B800DD4F-02E9-4461-891E-16CAF39703DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B800DD4F-02E9-4461-891E-16CAF39703DE}.Release|Any CPU.Build.0 = Release|Any CPU
{3F6D7FA0-E405-4F82-8F08-21CB9305CA2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3F6D7FA0-E405-4F82-8F08-21CB9305CA2F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3F6D7FA0-E405-4F82-8F08-21CB9305CA2F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3F6D7FA0-E405-4F82-8F08-21CB9305CA2F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1F77B73E-8B76-43DD-AA92-41A17D23F4D5}
EndGlobalSection
EndGlobal
6 changes: 5 additions & 1 deletion Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Filter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ public Vector2 Filter(Vector2 point)

public FilterStage FilterStage => FilterStage.PostTranspose;

[Property("Chatter Extermination Strength")]
[Property("Chatter Extermination Strength"), DefaultPropertyValue(2f), ToolTip
("Kuuube's CHATTER EXTERMINATOR:\n\n" +
"Accepted settings are 1-20.\n" +
"Recommended settings for the filter version: 2-3 for drag and 5-6 for hover.\n\n" +
"For more information: Open the wiki from plugin manager or go to https://github.com/Kuuuube/Kuuube-s-CHATTER-EXTERMINATOR.")]
public float AntichatterStrength { set; get; } = 3;
}
}
6 changes: 5 additions & 1 deletion Kuuube's_Chatter_Exterminator/Chatter_Exterminator_Interp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ public Vector2 Filter(Vector2 calcTarget)

public static FilterStage FilterStage => FilterStage.PostTranspose;

[Property("Chatter Extermination Strength")]
[Property("Chatter Extermination Strength"), DefaultPropertyValue(6f), ToolTip
("Kuuube's CHATTER EXTERMINATOR:\n\n" +
"Accepted settings are 1-20 (and 1000hz).\n" +
"Recommended settings for the interpolator version: 6-7 for drag and 15-16 for hover.\n\n" +
"For more information: Open the wiki from plugin manager or go to https://github.com/Kuuuube/Kuuube-s-CHATTER-EXTERMINATOR.")]
public float AntichatterStrength { set; get; } = 3;
}
}

0 comments on commit 10cb18e

Please sign in to comment.