-Updated GenericMIDI controller surface and test code. Needs some UI work for configuration.
This commit is contained in:
parent
bcfb35ac4e
commit
ed7652b5a9
2 changed files with 27 additions and 1 deletions
|
@ -156,7 +156,10 @@ Jack::~Jack()
|
|||
void Jack::activate()
|
||||
{
|
||||
Controller* c = new AkaiAPC();
|
||||
Controller* m = new GenericMIDI("testController.cfg","testName");
|
||||
|
||||
// TODO: Add GUI dialog to add controllers, and insert them into the controller map.
|
||||
// Watch out for RT stuff, loading file, registering ports etc: before activate?!
|
||||
//Controller* m = new GenericMIDI("/tmp/lupppTestMaterial/testController.cfg","testName");
|
||||
|
||||
Controller* g = new LupppGUI();
|
||||
|
||||
|
|
23
src/tests/lupppTestMaterial/testController.cfg
Normal file
23
src/tests/lupppTestMaterial/testController.cfg
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"midiIn" : 1,
|
||||
"midiOut" : 1,
|
||||
|
||||
"author" : "testControllerAuthor",
|
||||
"description" : "testControllerDescription",
|
||||
"link" : "www.openavproductions.com/luppp#testController",
|
||||
|
||||
"controls" : [
|
||||
{
|
||||
"status" : "0x80",
|
||||
"data" : "0x07",
|
||||
"action" : "<lupppActionString>"
|
||||
},
|
||||
|
||||
{
|
||||
"status" : "0x90",
|
||||
"data" : "0x07",
|
||||
|
||||
"action" : "<lupppActionString>"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue