summaryrefslogtreecommitdiff
path: root/wrapper/wrapper.cpp
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-07 19:53:00 -0400
committera1xd <[email protected]>2021-09-07 19:53:00 -0400
commitff70490904e361b432756d611270adacb488e00a (patch)
treee925f675e577fbc4f48702e85a85f45e2dd4f852 /wrapper/wrapper.cpp
parentshow power mode cap field (diff)
downloadrawaccel-ff70490904e361b432756d611270adacb488e00a.tar.xz
rawaccel-ff70490904e361b432756d611270adacb488e00a.zip
update SettingsManager
load active config from driver only when necessary ignore devices that aren't running the active profile (in mousewatcher)
Diffstat (limited to 'wrapper/wrapper.cpp')
-rw-r--r--wrapper/wrapper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/wrapper/wrapper.cpp b/wrapper/wrapper.cpp
index 6561fd2..5acc0d0 100644
--- a/wrapper/wrapper.cpp
+++ b/wrapper/wrapper.cpp
@@ -542,6 +542,12 @@ public:
throw gcnew InteropException(e);
}
}
+
+ void SetProfileAt(int index, Profile^ val)
+ {
+ profiles[index] = val;
+ accels[index]->Settings = val;
+ }
// returns null or a joined list of error messages
String^ Errors()