summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-07 14:21:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-05-11 20:45:10 +0200
commit9c8d21972c56f834637253ddc17e1231dca040d9 (patch)
tree961ab4a901772ccea7b2afbfd49e72da9a5ca8cc /logic
parent2b19c6c532c37c2eeb2547cf92f719197957ab72 (diff)
opentrack: implement profile vendor presets
Sponsored by: TrackHat Sponsored by: IRTrack
Diffstat (limited to 'logic')
-rw-r--r--logic/state.cpp3
-rw-r--r--logic/state.hpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/logic/state.cpp b/logic/state.cpp
index 8218e5c3..dc5e5a36 100644
--- a/logic/state.cpp
+++ b/logic/state.cpp
@@ -22,7 +22,8 @@ std::tuple<dylib_ptr, int> State::module_by_name(const QString& name, dylib_list
State::State(const QString& library_path) :
modules(library_path),
- pose(s.all_axis_opts)
+ pose(s.all_axis_opts),
+ library_path{library_path}
{}
dylib_ptr State::current_tracker()
diff --git a/logic/state.hpp b/logic/state.hpp
index 809ca458..7fc06a5c 100644
--- a/logic/state.hpp
+++ b/logic/state.hpp
@@ -35,4 +35,5 @@ struct OTR_LOGIC_EXPORT State
module_settings m;
Mappings pose;
std::shared_ptr<Work> work;
+ QString library_path;
};