Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Fixed PointerPlatformDesktopTouch to work in 64-bit systems #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

using SharpDX.Mathematics;
using RectangleF = SharpDX.Mathematics.RectangleF;
#if !W8CORE

using System;
using System.Collections.Generic;
using System.Drawing;
Expand Down Expand Up @@ -146,7 +145,7 @@ private uint WindowProc(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam)
case User32.WM_RBUTTONDOWN:
case User32.WM_RBUTTONUP:
case User32.WM_MOUSEMOTION:
if ((User32.GetMessageExtraInfo().ToInt32() & User32.MOUSEEVENTF_FROMTOUCH) == User32.MOUSEEVENTF_FROMTOUCH)
if ((User32.GetMessageExtraInfo().ToInt64() & User32.MOUSEEVENTF_FROMTOUCH) == User32.MOUSEEVENTF_FROMTOUCH)
return 1;
break;
}
Expand Down