mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 12:53:14 +02:00
add the ModWheel property to the MIDIManager
This commit is contained in:
parent
5ba4a4dbb5
commit
de463642c0
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ class MIDIManager : public QObject {
|
|||
|
||||
Q_PROPERTY(unsigned int NoteOn READ NoteOn)
|
||||
Q_PROPERTY(unsigned int NoteOff READ NoteOff)
|
||||
Q_PROPERTY(unsigned int ModWheel READ ModWheel)
|
||||
public:
|
||||
static MIDIManager& getInstance();
|
||||
static void midiCallback(double deltaTime, std::vector<unsigned char>* message, void* userData);
|
||||
|
@ -35,6 +36,7 @@ public:
|
|||
public slots:
|
||||
unsigned int NoteOn() const { return 144; }
|
||||
unsigned int NoteOff() const { return 128; }
|
||||
unsigned int ModWheel() const { return 176; }
|
||||
signals:
|
||||
void midiEvent(const MIDIEvent& event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue