Fix faderport-16 touch on/off (fixes faders 9..16)
This commit is contained in:
parent
34ae70a621
commit
f9d7a3720d
@ -605,7 +605,7 @@ FaderPort8::note_on_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb)
|
|||||||
debug_2byte_msg ("ON", tb->note_number, tb->velocity);
|
debug_2byte_msg ("ON", tb->note_number, tb->velocity);
|
||||||
|
|
||||||
/* fader touch */
|
/* fader touch */
|
||||||
#ifdef FaderPort16
|
#ifdef FADERPORT16
|
||||||
static const uint8_t touch_id_uppper = 0x77;
|
static const uint8_t touch_id_uppper = 0x77;
|
||||||
#else
|
#else
|
||||||
static const uint8_t touch_id_uppper = 0x6f;
|
static const uint8_t touch_id_uppper = 0x6f;
|
||||||
@ -649,7 +649,7 @@ FaderPort8::note_off_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb)
|
|||||||
{
|
{
|
||||||
debug_2byte_msg ("OF", tb->note_number, tb->velocity);
|
debug_2byte_msg ("OF", tb->note_number, tb->velocity);
|
||||||
|
|
||||||
#ifdef FaderPort16
|
#ifdef FADERPORT16
|
||||||
static const uint8_t touch_id_uppper = 0x77;
|
static const uint8_t touch_id_uppper = 0x77;
|
||||||
#else
|
#else
|
||||||
static const uint8_t touch_id_uppper = 0x6f;
|
static const uint8_t touch_id_uppper = 0x6f;
|
||||||
|
Loading…
Reference in New Issue
Block a user