summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-settings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r--opentrack/main-settings.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index 8c49f86a..b973e7af 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -15,10 +15,12 @@
using namespace options;
struct axis_opts {
+ pbundle b;
value<double> zero;
value<bool> invert, altp;
value<int> src;
axis_opts(pbundle b, QString pfx, int idx) :
+ b(b),
zero(b, n(pfx, "zero-pos"), 0),
invert(b, n(pfx, "invert-sign"), false),
altp(b, n(pfx, "alt-axis-sign"), false),