From 71e905e0d8e3985e8e0454bbc6b88cd71b0c5b8b Mon Sep 17 00:00:00 2001 From: nixator <30412629+nixator@users.noreply.github.com> Date: Fri, 6 Apr 2018 18:17:48 +0200 Subject: [PATCH] Update usbh_midi.cpp Added PID for Novation LaunchKey 25 MK2 --- usbh_midi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usbh_midi.cpp b/usbh_midi.cpp index b1ad3fbd..104eb816 100644 --- a/usbh_midi.cpp +++ b/usbh_midi.cpp @@ -346,8 +346,8 @@ void USBH_MIDI::setupDeviceSpecific() { // Novation if( vid == 0x1235 ) { - // LaunchPad's endpoint attirbute is interrupt (0x20:S, 0x36:Mini, 0x51:Pro, 0x69:MK2) - if(pid == 0x20 || pid == 0x36 || pid == 0x51 || pid == 0x69 ) { + // LaunchPad's endpoint attirbute is interrupt (0x20:S, 0x36:Mini, 0x51:Pro, 0x69:MK2, 0x7b:Launchkey25 MK2) + if(pid == 0x20 || pid == 0x36 || pid == 0x51 || pid == 0x69 || pid == 0x7b ) { bTransferTypeMask = 2; } }