Browse Source

Add custom shortcut for ofxPiMapper::scaleUp.. and ..Down()

master
Krisjanis Rijnieks 8 years ago
parent
commit
0a71becde5
  1. 4
      example-custom-shortcuts/src/ofApp.cpp

4
example-custom-shortcuts/src/ofApp.cpp

@ -58,6 +58,10 @@ void ofApp::keyPressed(int key){
mapper.moveLayerDown();
}else if(key == 'p'){
mapper.togglePerspective();
}else if(key == '+'){
mapper.scaleUp();
}else if(key == '-'){
mapper.scaleDown();
}else if(key == 'n'){
string multilineInfoText =
"Custom ofxPiMapper shortcuts\n\n"

Loading…
Cancel
Save