aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/midi.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/midi.h')
-rw-r--r--backends/midi.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/midi.h b/backends/midi.h
index dcee010..4e2ac09 100644
--- a/backends/midi.h
+++ b/backends/midi.h
@@ -14,14 +14,18 @@ typedef struct /*_midi_instance_data*/ {
int port;
char* read;
char* write;
+ uint8_t epn_tx_short;
+
+ uint16_t epn_control;
+ uint16_t epn_value;
} midi_instance_data;
typedef union {
struct {
- uint8_t pad[5];
+ uint8_t pad[4];
uint8_t type;
uint8_t channel;
- uint8_t control;
+ uint16_t control;
} fields;
uint64_t label;
} midi_channel_ident;