|
@@ -62,7 +62,8 @@ uint8_t IZ_GetMIDINoteFromName(char* name) { |
|
|
|
|
|
|
|
|
void IZ_HandleMIDINoteOnOffEvents(PmEvent e, IZ_MIDIInputState* state, IZ_Action* action) { |
|
|
void IZ_HandleMIDINoteOnOffEvents(PmEvent e, IZ_MIDIInputState* state, IZ_Action* action) { |
|
|
uint32_t message = e.message; |
|
|
uint32_t message = e.message; |
|
|
uint8_t status = message & 0xFFu; |
|
|
|
|
|
|
|
|
uint8_t status = message & 0xF0u; |
|
|
|
|
|
// uint8_t channel = message & 0x0Fu; |
|
|
uint8_t data1 = (message >> 8) & 0xFFu; |
|
|
uint8_t data1 = (message >> 8) & 0xFFu; |
|
|
// uint8_t data2 = (message >> 16) & 0xFFu; |
|
|
// uint8_t data2 = (message >> 16) & 0xFFu; |
|
|
|
|
|
|
|
|