Open sudofox opened 3 years ago
Hi sudofox
It may have possibility of restriction for the Wacom tablet driver usage on the Linux environment. Please refer some of articles for your references, e.g. https://askubuntu.com/questions/341666/disable-wacom-pen-12-04
In my case, I use STU series of signature tablet, so that it does not use the Wacom's proprietary driver, does the OS inbox HID driver.
Thank you for the insight. My research took me along a different path, which was towards solving the core issue: Firefox and Chrome/Chromium not using XInput 2 pressure data when taking inputs. For Firefox, setting the environment variable MOZ_USE_XINPUT2=1
when launching the browser seems to work, though this is a specific override and has to be done each time. For Chrome, I haven't found a similar workaround yet.
I haven't tried XInput ever and may not be able to provide you with useful information around that. In the same environment, the difference in behavior between Safari and Chrome, it should not be a problem at the OS/Driver/ Hardware layer on Linux. It may be incompatibility with Chrome.
hey @togura55 came across this looking for connecting the STU to webhid, is your code for this series? because i cannot find common ground with data i've got from my STU... i've made my own webhid implementation of stu protocol here: https://github.com/pabloko/Wacom-STU-WebHID
For the past week I've been searching for a way to get pressure data into the browser on Linux. The reason is that I've been working on developing a painting app that runs in the browser, for a site called Sudo Haiku (it is a mini-blog site for users of Hatena, a Japanese tech company). I am determined to make it work on a cross-platform basis.
https://h.sudo.ne.jp/ https://h.sudo.ne.jp/paint
I've been trying the WebUSB API and WebHID as well. However, it's looking like WebHID for pointer-like devices might be blacklisted in the browser due to keylogger concerns. I'm not entirely sure if this is the case for my tablet but it seems like you're working on something similar, so I was wondering if you've made any progress?