Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

android: auto register touch events on start

  • Loading branch information...
commit cb5715bc114b50c366e512c20ef0a3301f5a18a5 1 parent f0ef5a6
@arturoc arturoc authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  addons/ofxAndroid/src/ofAppAndroidWindow.cpp
View
3  addons/ofxAndroid/src/ofAppAndroidWindow.cpp
@@ -121,6 +121,9 @@ ofAppAndroidWindow::~ofAppAndroidWindow() {
void ofAppAndroidWindow::runAppViaInfiniteLoop(ofBaseApp * appPtr){
androidApp = dynamic_cast<ofxAndroidApp*>( appPtr );
+ if(androidApp){
+ ofxRegisterMultitouch(androidApp);
+ }
}
ofPoint ofAppAndroidWindow::getWindowSize(){
Please sign in to comment.
Something went wrong with that request. Please try again.