Skip to content

Instantly share code, notes, and snippets.

View dxball's full-sized avatar
💭
Work in progress 👻

Dxball ☕ dxball

💭
Work in progress 👻
View GitHub Profile
@dxball
dxball / DisableTouchConversionToMouse.cs
Last active September 5, 2018 08:55 — forked from ulatekh/DisableTouchConversionToMouse.cs
Globally disable the conversion of touch events to mouse events in Windows 7
namespace BlackFox
{
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security;
/// <summary>
/// As long as this object exists all mouse events created from a touch event for legacy support will be disabled.
/// Or, at least, that's the promise. But the system mouse-cursor still gets set to the position of the last