From 00d39102b469b459c5803fe1a20e52d8217add08 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Tue, 7 Sep 2021 19:53:00 -0400 Subject: update SettingsManager load active config from driver only when necessary ignore devices that aren't running the active profile (in mousewatcher) --- wrapper/wrapper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wrapper/wrapper.cpp') 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() -- cgit v1.2.3