Run Chrome in Device Mode to Enable Touch Support


Hello is it possible to enable Chrome inside electron to run in device mode automatically or enable touch events for a desktop app?

The basic idea is for Chrome to enable touch events (forced) since our setup is a desktop PC with a Touch Monitor with USB connected to a PC.


Have you found a solution to this?
I’m trying to do the same thing.
In the Electron main.js file I tried various tweaks of the following, with no success:
app.commandLine.appendSwitch('touch-devices', '123')
app.commandLine.appendSwitch('touch-events', 'true')



Hi there

Did you manage to find a solution?