Ejemplo n.º 1
0
        public KeyboardAndroid(InputSourceAndroid source, AndroidStrideGameView gameView)
        {
            Source        = source;
            this.gameView = gameView;
            var listener = new Listener(this);

            gameView.SetOnKeyListener(listener);
        }
Ejemplo n.º 2
0
        public PointerAndroid(InputSourceAndroid source, AndroidStrideGameView uiControl)
        {
            Source         = source;
            this.uiControl = uiControl;
            var listener = new Listener(this);

            uiControl.Resize += OnResize;
            uiControl.SetOnTouchListener(listener);

            OnResize(this, null);
        }