add analog stick double click event, add button long press event, add virtual controller settings draft

This commit is contained in:
Karim Mreisi
2015-01-26 09:38:52 +01:00
parent 1d6b7e1b2e
commit d83526ff5c
9 changed files with 509 additions and 64 deletions

View File

@@ -205,7 +205,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
{
FrameLayout frameLayout = (FrameLayout) findViewById(R.id.frameLayout);
virtualController = new VirtualController(conn, frameLayout, getApplicationContext(), getWindowManager());
virtualController = new VirtualController(conn, frameLayout, getApplicationContext());
}
// The connection will be started when the surface gets created