public KeyboardAndroid(InputSourceAndroid source, AndroidXenkoGameView gameView) { Source = source; this.gameView = gameView; var listener = new Listener(this); gameView.SetOnKeyListener(listener); }
public PointerAndroid(InputSourceAndroid source, AndroidXenkoGameView uiControl) { Source = source; this.uiControl = uiControl; var listener = new Listener(this); uiControl.Resize += OnResize; uiControl.SetOnTouchListener(listener); OnResize(this, null); }