silverlight - Silver/WPF remove mouse events, but allow touch events -


Anyone knows how to remove the mouse event, but only allow touch events.

In short, I 2 monitors are 1 primary display, second is the touch screen.

I do not want to move the mouse cursor to the other display. For the display, it will accept only the touch event, so it is expected that when the second screen touches, the mouse should move the primary screen w / o.

How to consider any?

Not with Windows, because all mouse inputs like device meet for a virtual device. So if your touchscreen is registered and works like a regular mouse, then I have no idea how to get the input from where the input came from. The only solution here will be the input data at the driver level. (See many results for this.)
This will cause the mouse cursor to always "click" (shortly) the touchscreen.

Mouse cursor must be stopped to enter the mouse screen, as it is also at the Windows level.

I give an alternative suggestion, though it depends on your touchscreen: Typically, before touching the touchscreen input (although not stylus input), take a very small / quick mouse, before clicking one The possible solution will be to listen to mouse movement events and using that information to separate the origin of the input.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -