summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.cpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-09-29 07:43:50 -0400
committera1xd <[email protected]>2020-09-29 07:43:50 -0400
commit9bb5616061d823fa3632b0d99ba177ac2de74ade (patch)
tree9cc4f48bfedd64f46a3c391677be5c793c4af243 /wrapper/wrapper.cpp
parentadd wrapper optimization (diff)
downloadrawaccel-9bb5616061d823fa3632b0d99ba177ac2de74ade.tar.xz
rawaccel-9bb5616061d823fa3632b0d99ba177ac2de74ade.zip
set invisible args to default values before write
Diffstat (limited to 'wrapper/wrapper.cpp')
-rw-r--r--wrapper/wrapper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp
index ebc4a2e..c5834d9 100644
--- a/wrapper/wrapper.cpp
+++ b/wrapper/wrapper.cpp
@@ -174,6 +174,7 @@ public:
public ref struct DriverInterop
{
literal double WriteDelayMs = WRITE_DELAY;
+ static initonly AccelArgs^ DefaultArgs = get_default()->args.x;
static DriverSettings^ GetActiveSettings()
{