summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.cpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-09-26 20:07:06 -0400
committerGitHub <[email protected]>2020-09-26 20:07:06 -0400
commit02de2ce503fad0b501893d040405922b23814dc9 (patch)
tree14cf982742ce4fc52c742b0befd8b256aa0dce94 /wrapper/wrapper.cpp
parentMerge pull request #24 from JacobPalecki/GUI (diff)
parentHide minimum time attribute (diff)
downloadrawaccel-02de2ce503fad0b501893d040405922b23814dc9.tar.xz
rawaccel-02de2ce503fad0b501893d040405922b23814dc9.zip
Merge pull request #25 from JacobPalecki/GUI
Small fixes and touchups
Diffstat (limited to 'wrapper/wrapper.cpp')
-rw-r--r--wrapper/wrapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp
index 9a53189..3307b8d 100644
--- a/wrapper/wrapper.cpp
+++ b/wrapper/wrapper.cpp
@@ -11,7 +11,7 @@ using namespace System::Runtime::InteropServices;
public enum class AccelMode
{
- linear, classic, natural, naturalgain, power, logarithm, motivity, noaccel
+ linear, classic, natural, naturalgain, power, motivity, noaccel
};
[StructLayout(LayoutKind::Sequential)]
@@ -49,6 +49,7 @@ public ref struct DriverSettings
Vec2<AccelMode> modes;
Vec2<AccelArgs> args;
Vec2<double> sensitivity;
+ [NonSerialized]
double minimumTime;
};