private bool SwigDirectortouchEnded(IntPtr sender) { return touchEnded((sender == IntPtr.Zero) ? null : new MgMotion(sender, false)); }