.
This commit is contained in:
+9
-1
@@ -1,10 +1,18 @@
|
||||
#ifndef COMMAND
|
||||
#define COMMAND
|
||||
|
||||
enum class Command{
|
||||
#include <cstdint>
|
||||
|
||||
enum class CommandType{
|
||||
None,
|
||||
NoteOn,
|
||||
NoteOff
|
||||
};
|
||||
|
||||
struct Command{
|
||||
CommandType type;
|
||||
uint8_t note;
|
||||
uint8_t velocity;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user