Stylus seen as a mouse, so no pressure
I searched across all open issues and did not find anything related, sorry if I missed some. OS: EndeavourOS running Weylus latest release from github, Fedora 37 on a reversible 2in1 laptop pc running both firefox and chromium-freeworld. Both with KDE Wayland session.
The stylus is seen as a simple mouse: if I disable the mouse input checkbox (with all other checked), it stops working at all. If kept enabled it works, but there is no pressure recognition, because it is seen as a simple mouse click and drag. I think it's a problem of the browser, but I'm using the latest version available on my distribution of both firefox and chromium-freeworld (I also tried with Falkon and Angelfish, with the same exact result).
Is it a problem of these browsers, of my setup, or a weylus problem?
EDIT: I tried using photopea on the same browser (firefox) and pen pressure works flawlessly. I guess then it's not a browser issue
Did you set up the uinput interface? If not, see this section (also tick the Enable uinput box on your tablet).
Add the uinput group:
sudo groupadd -r uinput
Add yourself to the uinput group:
sudo usermod -aG uinput $USER
Add the rules for Weylus:
echo 'KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"' \
| sudo tee /etc/udev/rules.d/60-weylus.rules
Either reboot OR do the following and log out and in afterwards:
sudo udevadm control --reload
sudo udevadm trigger
Just want to chime in that I'm experiencing the same, except in my case the client is an Android tablet running Firefox. @Diordany I followed those instructions exactly.
Hi @everdred, can you also try issue #240? Just to be sure.
@Diordany I found that step of the setup instructions oddly placed, but I understood that it was only meant to be used if reverting/uninstalling.
Another thing I found weird about the instructions was
Then, either reboot, or run
and the first time I tried setting this up I may have both run those commands and rebooted. But just in case that was the cause of my issue I ended up uninstalling (i.e. removing the uinput group, deleting the .rules file), rebooting and then going through the setup again, taking care to only do one.
@Diordany I found that step of the setup instructions oddly placed, but I understood that it was only meant to be used if reverting/uninstalling.
Yeah, so we can rule that out in your case. I agree with your point, someone can easily mistake that command for being part of the setup process.
Another thing I found weird about the instructions was
Then, either reboot, or run
and the first time I tried setting this up I may have both run those commands and rebooted. But just in case that was the cause of my issue I ended up uninstalling (i.e. removing the uinput group, deleting the .rules file), rebooting and then going through the setup again, taking care to only do one.
Yes, I also agree with this.
I read earlier today that this project isn't being maintained right now (#255). I'm also not a contributor myself, but if I find anything that might help solve your problem, I'll let you know @everdred .