From 65bad699fc8472b49189a412f730409eb2e96311 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 May 2015 15:55:31 +0200 Subject: all: implicitly cancel on form dialog close --- ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ftnoir_tracker_joystick') diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h index 7fb26dfd..0958246a 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h @@ -29,12 +29,11 @@ #include "opentrack/options.hpp" using namespace options; -struct settings { - pbundle b; +struct settings : opts { value joyid; value joy_1, joy_2, joy_3, joy_4, joy_5, joy_6; settings() : - b(bundle("tracker-joystick")), + opts("tracker-joystick"), joyid(b, "joy-id", ""), joy_1(b, "axis-map-1", 1), joy_2(b, "axis-map-2", 2), -- cgit v1.2.3