Hi, The relevant code that finds the maxTouchPoints value is int qtwebengine/src/3rdparty/chromium/ui/base/touch/touch_device_linux.cc inside the MaxTouchPoints() function.
That function iterates over the available touchscreens (not touchpads though). Thus my initial guess is that the touchscreen is not detected for some reason. I would try to find where the list of touchscreen is populated and work from there. > On 8. Sep 2017, at 13:33, Johannes Pointner <[email protected]> wrote: > > Hi, > > I'm trying to get the info from the browser if the device supports multitouch. > There is a navigator object maxTouchPoints > (https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints) > which would do the trick. > This works with Chromium in Linux and with Chrome and QtWebEngine in > Windows but not with the QtWebEngine in Linux (ArchLinux). > > Is this supported by the QtWebEngine under Linux? > Is there something I missed (config build flag maybe)? > > Thanks, > Hannes > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
