Browse Source

Add custom shortcut for ofxPiMapper::togglePerspective()

master
Krisjanis Rijnieks 8 years ago
parent
commit
03cf465d6c
  1. 2
      example-custom-shortcuts/src/ofApp.cpp

2
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"

Loading…
Cancel
Save