diff --git a/example-custom-shortcuts/src/ofApp.cpp b/example-custom-shortcuts/src/ofApp.cpp index 6d4e4be..a7c007e 100644 --- a/example-custom-shortcuts/src/ofApp.cpp +++ b/example-custom-shortcuts/src/ofApp.cpp @@ -56,6 +56,8 @@ void ofApp::keyPressed(int key){ mapper.moveLayerUp(); }else if(key == 'u'){ mapper.moveLayerDown(); + }else if(key == 'p'){ + mapper.togglePerspective(); }else if(key == 'n'){ string multilineInfoText = "Custom ofxPiMapper shortcuts\n\n"