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

Mouse events occur twice #244

Open
aadilshabier opened this issue Feb 27, 2024 · 2 comments
Open

Mouse events occur twice #244

aadilshabier opened this issue Feb 27, 2024 · 2 comments
Assignees

Comments

@aadilshabier
Copy link
Contributor

aadilshabier commented Feb 27, 2024

Version Information:

  • Distribution Information
Linux archlinux 6.7.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000 x86_64 GNU/Linux
  • swhkd version
swhkd 1.3.0-dev

Describe the bug:
Mouse scroll events seem to occur twice when swhkd is being run.

Expected behavior:

  • Screenshot when not running swhkd
    image

Actual behavior:

  • Screenshot from xev
    image

To Reproduce:
Steps to reproduce the behavior.

Additional information:
I've noticed this only for mouse scroll events as of now, not for mouse movement or mouse clicks. I tried setting the timeout to 1000ms to account for hardware jitters by running this command, but that doesn't change anything.

$ pkexec swhkd -C 1000 
@InnocentZero
Copy link
Contributor

I'm unable to reproduce this issue on wayland.
Archlinux 6.7.11-hardened
swayfx 0.3.2

wev still registers only one mouse scroll for me.

@aadilshabier
Copy link
Contributor Author

I'm unable to reproduce this issue on wayland. Archlinux 6.7.11-hardened swayfx 0.3.2

wev still registers only one mouse scroll for me.

Might be a mouse specific thing, because it's just a problem on this specific mouse(Logitech B330/M330/M331).

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

No branches or pull requests

5 participants