summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2020-09-29 18:57:46 -0700
committerGitHub <[email protected]>2020-09-29 18:57:46 -0700
commit97f82c3e70185f5558405b023d8c6b4783c830fc (patch)
tree52ce71c455eae56548396885207feb0f73774df4
parentMerge pull request #29 from JacobPalecki/GUI (diff)
parentfix typo in gui (diff)
downloadrawaccel-97f82c3e70185f5558405b023d8c6b4783c830fc.tar.xz
rawaccel-97f82c3e70185f5558405b023d8c6b4783c830fc.zip
Merge pull request #30 from a1xd/fix-1.0.0
small fixes for 1.0.0
-rw-r--r--grapher/Form1.Designer.cs2
-rw-r--r--wrapper/wrapper.cpp4
-rw-r--r--writer/writer.csproj5
3 files changed, 7 insertions, 4 deletions
diff --git a/grapher/Form1.Designer.cs b/grapher/Form1.Designer.cs
index 2e68dcf..b8b1c8f 100644
--- a/grapher/Form1.Designer.cs
+++ b/grapher/Form1.Designer.cs
@@ -529,7 +529,7 @@ namespace grapher
this.ScaleMenuItem});
this.scaleByDPIToolStripMenuItem.Name = "scaleByDPIToolStripMenuItem";
this.scaleByDPIToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
- this.scaleByDPIToolStripMenuItem.Text = "Scale by Mouse Settngs";
+ this.scaleByDPIToolStripMenuItem.Text = "Scale by Mouse Settings";
//
// dPIToolStripMenuItem
//
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp
index c665bed..a23205f 100644
--- a/wrapper/wrapper.cpp
+++ b/wrapper/wrapper.cpp
@@ -135,8 +135,8 @@ error_list_t^ get_accel_errors(AccelMode mode, AccelArgs^ args)
auto error_list = gcnew error_list_t();
- if (args->acceleration > 1 && is_mode(am::natural, am::naturalgain))
- error_list->Add("acceleration can not be greater than 1");
+ if (args->acceleration > 10 && is_mode(am::natural, am::naturalgain))
+ error_list->Add("acceleration can not be greater than 10");
else if (args->acceleration < 0) {
bool additive = m < am::power;
if (additive) error_list->Add("acceleration can not be negative, use a negative weight to compensate");
diff --git a/writer/writer.csproj b/writer/writer.csproj
index a28d5ef..a874b7f 100644
--- a/writer/writer.csproj
+++ b/writer/writer.csproj
@@ -5,7 +5,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{28ACF254-E4EF-4A0E-9761-0FE22048D6FD}</ProjectGuid>
- <OutputType>Exe</OutputType>
+ <OutputType>WinExe</OutputType>
<RootNamespace>writer</RootNamespace>
<AssemblyName>writer</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
@@ -35,6 +35,9 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
+ <PropertyGroup>
+ <StartupObject />
+ </PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>