forked from mfulz_github/qmk_firmware
Pipe_GetErrorFlags() now returns additional error flags for overflow and underflow errors.
Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
This commit is contained in:
1 parent
39d07c3da0
commit
dcf303762a
7 files changed
+23
-13
No files matched your search
@@ -139,9 +139,9 @@ void CheckJoystickMovement(void)
|
||||
USB_MIDI_EventPacket_t MIDIEvent = (USB_MIDI_EventPacket_t)
|
||||
{
|
||||
.CableNumber = 0,
|
||||
.Command = MIDICommand,
|
||||
.Command = (MIDICommand >> 4),
|
||||
|
||||
.Data1 = (MIDICommand << 4) | Channel,
|
||||
.Data1 = MIDICommand | Channel,
|
||||
.Data2 = MIDIPitch,
|
||||
.Data3 = MIDI_STANDARD_VELOCITY,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user