diff --git a/example/src/ofApp.cpp b/example/src/ofApp.cpp index a5788c7..d26f908 100644 --- a/example/src/ofApp.cpp +++ b/example/src/ofApp.cpp @@ -30,3 +30,15 @@ void ofApp::update(){ void ofApp::draw(){ piMapper.draw(); } + +void ofApp::mousePressed(int x, int y, int button){ + piMapper.mousePressed(x, y, button); +} + +void ofApp::mouseReleased(int x, int y, int button){ + piMapper.mouseReleased(x, y, button); +} + +void ofApp::mouseDragged(int x, int y, int button){ + piMapper.mouseDragged(x, y, button); +} diff --git a/example/src/ofApp.h b/example/src/ofApp.h index 3c19e57..ab1afd8 100644 --- a/example/src/ofApp.h +++ b/example/src/ofApp.h @@ -12,6 +12,10 @@ class ofApp : public ofBaseApp { void setup(); void update(); void draw(); + + void mousePressed(int x, int y, int button); + void mouseReleased(int x, int y, int button); + void mouseDragged(int x, int y, int button); ofxPiMapper piMapper;