diff options
author | Robin Gareus <robin@gareus.org> | 2018-01-23 19:00:18 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-01-23 19:00:18 +0100 |
commit | d785883836c77c7549ed9cd4b1243b54118d2a84 (patch) | |
tree | e4731b446ddbcfcbaa35c698c6702464995352e0 /libs/surfaces/faderport8 | |
parent | 277c75c894225add2a55da02afa9614b1ed4277c (diff) |
Fix FP16 Solo (0x53 is mapped to encoder-press, 0x56 to loop)
Diffstat (limited to 'libs/surfaces/faderport8')
-rw-r--r-- | libs/surfaces/faderport8/fp8_strip.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/surfaces/faderport8/fp8_strip.cc b/libs/surfaces/faderport8/fp8_strip.cc index 84a7964035..1698473820 100644 --- a/libs/surfaces/faderport8/fp8_strip.cc +++ b/libs/surfaces/faderport8/fp8_strip.cc @@ -60,7 +60,14 @@ FP8Strip::midi_ctrl_id (CtrlElement type, uint8_t id) id -= 8; switch (type) { case BtnSolo: - return 0x50 + id; + switch (id) { + case 3: + return 0x58; + case 6: + return 0x59; + default: + return 0x50 + id; + } case BtnMute: return 0x78 + id; case BtnSelect: |