diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-14 19:02:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-14 19:02:54 +0000 |
commit | 2ed2b6122410fcd3e08c9bf8f753de512aa5c6b0 (patch) | |
tree | 2c3792dd3eced9a3008fedefdaf9b3816bed53e7 /libs/surfaces/mackie/surface.h | |
parent | 32766ce215fc2c668c65a54dc1d9436cd11ca413 (diff) |
MCP: redesign to allow device-specific button IDs, since we know that at least one device (nucleus) does not honor mackie's specification document
git-svn-id: svn://localhost/ardour2/branches/3.0@11972 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/surface.h')
-rw-r--r-- | libs/surfaces/mackie/surface.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/surfaces/mackie/surface.h b/libs/surfaces/mackie/surface.h index 6bdb575847..5bcd9ebde9 100644 --- a/libs/surfaces/mackie/surface.h +++ b/libs/surfaces/mackie/surface.h @@ -53,13 +53,10 @@ public: std::map<int,Fader*> faders; std::map<int,Pot*> pots; - std::map<int,Button*> buttons; + std::map<int,Button*> buttons; // index is device-DEPENDENT std::map<int,Led*> leds; std::map<int,Meter*> meters; - - /// no strip controls in here because they usually - /// have the same names. - std::map<std::string,Control*> controls_by_name; + std::map<int,Control*> controls_by_device_independent_id; Mackie::JogWheel* jog_wheel() const { return _jog_wheel; } |