diff --git a/example-custom-shortcuts/src/ofApp.cpp b/example-custom-shortcuts/src/ofApp.cpp index d8d84f9..951748a 100644 --- a/example-custom-shortcuts/src/ofApp.cpp +++ b/example-custom-shortcuts/src/ofApp.cpp @@ -54,6 +54,14 @@ void ofApp::keyPressed(int key){ mapper.moveLayerUp(); }else if(key == 'u'){ mapper.moveLayerDown(); + }else if(key == 'n'){ + string multilineInfoText = + "Custom ofxPiMapper shortcuts\n\n" + "Good day user.\n" + "Shortcuts have been customized.\n" + "Please make sure to provide your own documentation."; + mapper.setInfoText(multilineInfoText); + mapper.toggleInfo(); }else{ mapper.keyPressed(key); }