diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-10-17 13:27:08 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-10-19 11:53:55 -0500 |
commit | ee09ae1c6bd285388159a3a69f12fc53faf247e2 (patch) | |
tree | 275aef68a5fd2eeaf5ea66830a93d29b3c03464f /libs/surfaces/us2400/mcp_buttons.cc | |
parent | 48c520a4ef4c3eabce0269482e0ccc111b768f1b (diff) |
US2400: allow selecting the master bus. LED does not respond, though :(
Diffstat (limited to 'libs/surfaces/us2400/mcp_buttons.cc')
-rw-r--r-- | libs/surfaces/us2400/mcp_buttons.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/surfaces/us2400/mcp_buttons.cc b/libs/surfaces/us2400/mcp_buttons.cc index 69a13cdd85..b88d88b312 100644 --- a/libs/surfaces/us2400/mcp_buttons.cc +++ b/libs/surfaces/us2400/mcp_buttons.cc @@ -769,6 +769,21 @@ US2400Protocol::flip_release (Button &) { return none; } + +LedState +US2400Protocol::mstr_press (Button &) +{ +// access_action("Mixer/select-none"); + SetStripableSelection( session->master_out() ); + return on; +} + +LedState +US2400Protocol::mstr_release (Button &) +{ + return none; +} + LedState US2400Protocol::name_value_press (Button &) { |