Windows, c++ 检测屏幕上的手指触摸?

Windows, c++ detect finger touch on screen?

在 c++ 的虚拟键代码中 vk_shift 表示例如 shift 键。但是有没有这样的代码来指示手指正在触摸触摸屏?或者如何处理?

有两种方法。要么使用 Touch Input which will give you a very raw result in TOUCHINPUT, x-y point of the touch events, mostly useful for debugging purpose or if your app needs a unique interface, or Touch Gesture, which will be immediately familiar for users accustomed to other touch interfaces since you'll be handling GESTUREINFO,在这里您将获得点击、缩放、平移和旋转。