简体   繁体   中英

Get Touch Events from Windows for Tablet or Collaboration Display

I would like to get global touch events from the operating system similar to the way you get system info using GetSystemInfo from 'kernel32'dll. I am developing a console app that detects the when the screen of the device is touched like a tablet pc or Collaboration Display.

So if the user touches the screen, it gets notified and increments a counter.

GetLastInputInfo can be used for touch interaction.

Related: Detect last interaction (touch) and display confirmation box

Note: This function will also work for mouse input and keyboard input. But considering that it is a touch screen device, users are more inclined to touch interaction.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM