-Updated GenericMIDI controller surface and test code. Needs some UI work for configuration.

main
Harry van Haaren 2013-09-24 18:50:55 +01:00
parent bcfb35ac4e
commit ed7652b5a9
2 changed files with 27 additions and 1 deletions

View File

@ -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();

View 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>"
}
]
}