diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-05-08 10:12:13 -0500 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-05-12 15:43:55 +0200 |
commit | 8ba868e9334548ab03cd517e6c79d9f13d8ba7f2 (patch) | |
tree | 8b3d31022df367a4a0fc70541bffcabf251147dd /libs/surfaces/mackie/mcp_buttons.cc | |
parent | e6e2b6800e081c1a416638c4312b81415e190320 (diff) |
MCU: F-keys are reserved only for user-defined actions; no need for explicit handling.
Diffstat (limited to 'libs/surfaces/mackie/mcp_buttons.cc')
-rw-r--r-- | libs/surfaces/mackie/mcp_buttons.cc | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 49aa690f02..3bdf51c4b9 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -617,50 +617,51 @@ MackieControlProtocol::bank_release (Button& b, uint32_t basic_bank_num) return on; } +/* F-KEYS are only used for actions that are bound from the control panel; no need to address them here LedState MackieControlProtocol::F1_press (Button &b) { - return off; + return on; } LedState MackieControlProtocol::F1_release (Button &b) { - return bank_release (b, 0); + return off; } LedState MackieControlProtocol::F2_press (Button &) { - return off; + return on; } LedState MackieControlProtocol::F2_release (Button &b) { - return bank_release (b, 1); + return off; } LedState MackieControlProtocol::F3_press (Button &) { - return off; + return on; } LedState MackieControlProtocol::F3_release (Button &b) { - return bank_release (b, 2); + return off; } LedState MackieControlProtocol::F4_press (Button &) { - return off; + return on; } LedState MackieControlProtocol::F4_release (Button &b) { - return bank_release (b, 3); + return off; } LedState MackieControlProtocol::F5_press (Button &) { - return off; + return on; } LedState MackieControlProtocol::F5_release (Button &) @@ -670,7 +671,7 @@ MackieControlProtocol::F5_release (Button &) LedState MackieControlProtocol::F6_press (Button &) { - return off; + return on; } LedState MackieControlProtocol::F6_release (Button &) @@ -680,7 +681,7 @@ MackieControlProtocol::F6_release (Button &) LedState MackieControlProtocol::F7_press (Button &) { - return off; + return on; } LedState MackieControlProtocol::F7_release (Button &) @@ -690,14 +691,15 @@ MackieControlProtocol::F7_release (Button &) LedState MackieControlProtocol::F8_press (Button &) { - CloseDialog (); /* EMIT SIGNAL */ - return off; + return on; } LedState MackieControlProtocol::F8_release (Button &) { return off; } +*/ + /* UNIMPLEMENTED */ |