void _gamePad_SingleFingerTouchEvent(object sender, Util.EventArgs <SingleFingerTouch> e) { if (_actuatorLeft != null) { var bounds = _actuatorLeft.CalculateAccumulatedFrame(); if (bounds.Contains(e.Value.Coord)) { Debug.WriteLine("OverlayScene: inside pistonLeft"); if (LeftActuatorClicked != null) { LeftActuatorClicked(this, EventArgs.Empty); } } } if (_actuatorRight != null) { var bounds = _actuatorRight.CalculateAccumulatedFrame(); if (bounds.Contains(e.Value.Coord)) { Debug.WriteLine("OverlayScene: inside pistonRight"); if (RightActuatorClicked != null) { RightActuatorClicked(this, EventArgs.Empty); } } } }