summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.cpp
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 /wrapper/wrapper.cpp
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
Diffstat (limited to 'wrapper/wrapper.cpp')
-rw-r--r--wrapper/wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
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");