diff --git a/src/fishrungames/salmonjnitemplate/MainActivity.java b/src/fishrungames/salmonjnitemplate/MainActivity.java index ca51357..85b05c2 100644 --- a/src/fishrungames/salmonjnitemplate/MainActivity.java +++ b/src/fishrungames/salmonjnitemplate/MainActivity.java @@ -52,6 +52,8 @@ public class MainActivity extends Activity setContentView(mView); + EngineWrapper.SetView(mView); + } @Override @@ -79,7 +81,6 @@ public class MainActivity extends Activity public boolean onKeyDown(int keyCode, KeyEvent event) { - EngineWrapper.ProcessKeyDown(keyCode, event); return super.onKeyDown(keyCode, event); }