DaichiAsahikawa's avatar
DaichiAsahikawa
Copper Contributor
Mar 10, 2023
Status:
New

I want to be able to reproduce the virtual touchpad of windows11 on .net

I would like to develop software for integrating input devices such as keyboards and mice. For that, you need a system like the virtual keyboard or virtual touchpad that is installed in windows11. In the current .net WPF and windows Forms App, even if you use the win32 API, you cannot reproduce the movement of the virtual touchpad that is standardly installed in windwos11. It is thought that this is caused by conflict between the cursor coordinates when the screen is touched and the cursor coordinates forcibly specified by win32API. This conflict cannot be resolved by intercepting the TouchEnter Event as currently implemented in .net. Perhaps we need to develop at the device driver level to resolve this conflict. However, there is no such conflict with the virtual touchpad that comes standard with windwos11. In other words, if you provide this function, low-cost development is possible.
As a specific implementation plan, if there is an Event when the cursor coordinates at the time of screen touch are specified in the layer above TouchEnter Event, if the coordinates are acquired while intercepting that Event, at the time of screen touch Only the cursor coordinates specified by the win32API are determined while blocking the cursor coordinates, and conflicts do not occur.
Such a feature would greatly expand the scope of multi-touch development. I hope it will be implemented.

No CommentsBe the first to comment