Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 - How do I test touch events without a touchscreen?

I need to test my Windows app using touch events but don't have a touch screen available.

like image 595
BigHeadCreations Avatar asked Oct 27 '16 01:10

BigHeadCreations


People also ask

How do you simulate a touch screen?

The Chrome Browser integrates a nice feature to simulate multiple mobile devices or a touch screen. Now close the settings and press the ESC (Escape Key) and switch to the "Emulation" Panel (2). The "Sensors" menu (3) let's you enable the "Emulate touch screen" (4) checkbox. That's it!

Can I use Windows 10 without a touch screen?

No, Windows 10 laptops and 2-in-1 devices technically don't need a touchscreen. That means you can run into situations where you find that the touchscreen is disabled.

How do I add touchscreen to Windows 10?

Enable your touchscreen in Windows 10 Device Manager To enable it again, find the “Human Interface Devices” section in Device Manager, scroll until you see “HID-compliant touch screen”, right-click it, and select “Enable device”.


1 Answers

Microsoft.Windows.Simulator.exe

Located in C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Simulator\16.0\Microsoft.Windows.Simulator.exe

The Simulator has modes that allow for basic touch events using the mouse, as well as pinch-to-zoom, and 2 finger rotation. It simulates your current Windows machine so you can even open up your code in VS, run your app, and set breakpoints that would normally only hit when using touch events.


Edit: based on the comment of Luishg, you need to install both Visual Studio and the Visual Studio UWP package for the Simulator to be installed.

Simulator

like image 190
BigHeadCreations Avatar answered Sep 23 '22 17:09

BigHeadCreations