public bool Left(InputDetectionType detectionType, DirectionalInputTypes inputTypes)
{
// todo: for all directions: check if game is active!
if (inputTypes.HasFlag(DirectionalInputTypes.ScrollWheel) && Mouse.GetScrollWheelDifference() > 0)
{
return true;
}
else if (inputTypes != DirectionalInputTypes.ScrollWheel) // when it's only scroll wheel, do not check the rest.
{
return CheckDirectional(detectionType, InputDirection.Left, inputTypes, Keys.Left, Keys.A, Buttons.LeftThumbstickLeft, Buttons.RightThumbstickLeft, Buttons.DPadLeft);
}
return false;
}
public bool Right(InputDetectionType detectionType, DirectionalInputTypes inputTypes)