~mixxxdevelopers/mixxx/trunk

« back to all changes in this revision

Viewing changes to mixxx/src/controlpushbutton.h

Merging features_controllerAbstraction. Migration of mappings from .mixxx/midi/ to controllers/ only works on a version upgrade (end-users.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#define CONTROLPUSHBUTTON_H
20
20
 
21
21
#include "controlobject.h"
 
22
#include "controllers/midi/midimessage.h"
22
23
#include "defs.h"
23
24
 
24
25
/**
35
36
    void setStates(int num_states);
36
37
 
37
38
protected:
38
 
    void setValueFromMidi(MidiCategory c, double v);
 
39
    void setValueFromMidi(MidiOpCode o, double v);
39
40
 
40
41
private:
41
42
    bool m_bIsToggleButton;