summaryrefslogtreecommitdiffstats
path: root/src/engine/ControlBindings.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-03 07:35:34 +0000
committerDavid Robillard <d@drobilla.net>2010-02-03 07:35:34 +0000
commit38c9341c63c09ded0ad2f69c1948d2da41c416c2 (patch)
tree450cc74ded35a0f844ff9d23aa69ede1821dbdaa /src/engine/ControlBindings.hpp
parent60968da24dd2b92fc392d1b91e73245770b5a4af (diff)
downloadingen-38c9341c63c09ded0ad2f69c1948d2da41c416c2.tar.gz
ingen-38c9341c63c09ded0ad2f69c1948d2da41c416c2.tar.bz2
ingen-38c9341c63c09ded0ad2f69c1948d2da41c416c2.zip
Only bind notes to toggle controls, so it is possible to bind non-toggle controls to aftertouch.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2413 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/ControlBindings.hpp')
-rw-r--r--src/engine/ControlBindings.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/ControlBindings.hpp b/src/engine/ControlBindings.hpp
index 092a2730..1227df09 100644
--- a/src/engine/ControlBindings.hpp
+++ b/src/engine/ControlBindings.hpp
@@ -76,7 +76,7 @@ private:
PortImpl* _learn_port;
void set_port_value(ProcessContext& context, PortImpl* port, Type type, int16_t value);
- void bind(ProcessContext& context, Type type, int16_t num=0);
+ bool bind(ProcessContext& context, Type type, int16_t num=0);
SharedPtr<Bindings> _bindings;
};