Send visible palette index 21 (yellow) instead of 127 (black) so feedback is visible
This commit is contained in:
+2
-1
@@ -130,7 +130,8 @@ void AppTask::process_switch_event(uint8_t switch_id, bool pressed) {
|
|||||||
if (pad_mapping[i].physical_switch == switch_id) {
|
if (pad_mapping[i].physical_switch == switch_id) {
|
||||||
uint8_t channel = pad_mapping[i].midi_channel;
|
uint8_t channel = pad_mapping[i].midi_channel;
|
||||||
uint8_t cc_num = cc_map[i];
|
uint8_t cc_num = cc_map[i];
|
||||||
uint8_t value = pressed ? 127 : 0;
|
// Use palette index 21 (yellow) so feedback is visible
|
||||||
|
uint8_t value = pressed ? 21 : 0;
|
||||||
|
|
||||||
if (pressed) {
|
if (pressed) {
|
||||||
midi_transport->send_cc(channel, cc_num, value);
|
midi_transport->send_cc(channel, cc_num, value);
|
||||||
|
|||||||
Reference in New Issue
Block a user