private static ButtonState SelectState(MouseState ms, MKeys k) { switch (k) { case MKeys.Left: return(ms.LeftButton); case MKeys.Right: return(ms.RightButton); default: return(ms.MiddleButton); } }
public static bool IsBeingHeldUp(MKeys k) => MIsBeingHeldUp[k]();
public static bool IsBeingHeldDown(MKeys k) => MIsBeingHeldDown[k]();
public static bool IsBeingReleased(MKeys k) => MIsBeingReleased[k]();
public static bool IsBeingPressed(MKeys k) => MIsBeingPressed[k]();
public static bool IsPKUp(MKeys k) => MPIsReleased[k]();
public static bool IsPKDown(MKeys k) => MPIsPressed[k]();
public static bool IsCKUp(MKeys k) => MCIsPressed[k]();