Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylus seen as a mouse, so no pressure #239

Open
tubbadu opened this issue Sep 2, 2023 · 6 comments
Open

Stylus seen as a mouse, so no pressure #239

tubbadu opened this issue Sep 2, 2023 · 6 comments

Comments

@tubbadu
Copy link

tubbadu commented Sep 2, 2023

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

@Diordany
Copy link

Diordany commented Sep 13, 2023

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

@everdred
Copy link

everdred commented Dec 3, 2023

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.

@Diordany
Copy link

Diordany commented Dec 3, 2023

Hi @everdred, can you also try issue #240? Just to be sure.

@everdred
Copy link

everdred commented Dec 3, 2023

@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
Copy link

Diordany commented Dec 3, 2023

@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.

@Diordany
Copy link

Diordany commented Dec 3, 2023

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants