From c7f671ff5bf9cf2559697bbc90cf3cee97cc7975 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Sep 2011 07:17:10 +0000 Subject: Fix control bindings (MIDI learn). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3464 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/SetPortValue.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/server/events/SetPortValue.hpp') diff --git a/src/server/events/SetPortValue.hpp b/src/server/events/SetPortValue.hpp index 6f3cde87..13d77225 100644 --- a/src/server/events/SetPortValue.hpp +++ b/src/server/events/SetPortValue.hpp @@ -19,6 +19,8 @@ #define INGEN_EVENTS_SETPORTVALUE_HPP #include "raul/Atom.hpp" + +#include "ControlBindings.hpp" #include "QueuedEvent.hpp" #include "types.hpp" @@ -70,10 +72,11 @@ private: void apply(Context& context); - bool _queued; - const Raul::Path _port_path; - const Raul::Atom _value; - PortImpl* _port; + bool _queued; + const Raul::Path _port_path; + const Raul::Atom _value; + PortImpl* _port; + ControlBindings::Key _binding; }; } // namespace Server -- cgit v1.2.1