protected void HandleGenericMotion(object sender, View.GenericMotionEventArgs e) { if (shouldHandleEvent(e.Event)) { OnGenericMotion(e.Event); e.Handled = true; } }
private void HandleGenericMotion(object sender, View.GenericMotionEventArgs e) { if ((e.Event.Source & InputSourceType.Gamepad) == InputSourceType.Gamepad || (e.Event.Source & InputSourceType.Joystick) == InputSourceType.Joystick) { FlatRedBallAndroid.Input.AndroidGamePadManager.OnGenericMotionEvent(e.Event); } }