Mercurial > hg > touchkeys
diff Source/Mappings/MultiFingerTrigger/TouchkeyMultiFingerTriggerMappingFactory.cpp @ 49:90ce403d0dc5
Added OSC control over all main application functions. OSC messages can be sent to do most of the tasks available from the GUI.
author | Andrew McPherson <andrewm@eecs.qmul.ac.uk> |
---|---|
date | Mon, 13 Apr 2015 19:30:27 -0700 |
parents | 1526d2fbe01e |
children |
line wrap: on
line diff
--- a/Source/Mappings/MultiFingerTrigger/TouchkeyMultiFingerTriggerMappingFactory.cpp Mon Jan 05 18:06:43 2015 +0000 +++ b/Source/Mappings/MultiFingerTrigger/TouchkeyMultiFingerTriggerMappingFactory.cpp Mon Apr 13 19:30:27 2015 -0700 @@ -102,10 +102,21 @@ triggerOffNoteVel_ = velocity; } +#ifndef TOUCHKEYS_NO_GUI // ***** GUI Support ***** MappingEditorComponent* TouchkeyMultiFingerTriggerMappingFactory::createBasicEditor() { return new TouchkeyMultiFingerTriggerMappingShortEditor(*this); } +#endif + +// ****** OSC Control Support ****** +OscMessage* TouchkeyMultiFingerTriggerMappingFactory::oscControlMethod(const char *path, const char *types, + int numValues, lo_arg **values, void *data) { + // TODO + + // If no match, check the base class + return TouchkeyBaseMappingFactory<TouchkeyMultiFingerTriggerMapping>::oscControlMethod(path, types, numValues, values, data); +} // ****** Preset Save/Load ****** XmlElement* TouchkeyMultiFingerTriggerMappingFactory::getPreset() {