mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Update usbh_midi.cpp
Added PID for Novation LaunchKey 25 MK2
This commit is contained in:
parent
208a0a75cf
commit
71e905e0d8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue