faderport: add footswitch button

This commit is contained in:
Paul Davis
2016-01-25 14:32:09 -05:00
parent 2005891d40
commit 5b7fa0b3c5
2 changed files with 2 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ FaderPort::FaderPort (Session& s)
buttons.insert (std::make_pair (Stop, Button (*this, _("Stop"), Stop, 2)));
buttons.insert (std::make_pair (Play, Button (*this, _("Play"), Play, 1)));
buttons.insert (std::make_pair (RecEnable, Button (*this, _("RecEnable"), RecEnable, 0)));
buttons.insert (std::make_pair (Footswitch, Button (*this, _("Footswitch"), Footswitch, -1)));
buttons.insert (std::make_pair (FaderTouch, Button (*this, _("Fader (touch)"), FaderTouch, -1)));
get_button (Shift).set_flash (true);

View File

@@ -146,6 +146,7 @@ class FaderPort : public ARDOUR::ControlProtocol, public AbstractUI<FaderPortReq
Stop = 5,
Play = 6,
RecEnable = 7,
Footswitch = 126,
FaderTouch = 127,
};