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 only generated with analog stick evdev events #668

Closed
nikitautiu opened this issue Mar 20, 2022 · 1 comment
Closed

Mouse events only generated with analog stick evdev events #668

nikitautiu opened this issue Mar 20, 2022 · 1 comment

Comments

@nikitautiu
Copy link

nikitautiu commented Mar 20, 2022

Description

Issue is very similar #576, but that one should be fixed. I have a custom evedev controller setup for a PiBoy DMG internal controller. I want to use the analog stick to emulate mouse input. The issue is that the daemon seems to generate mouse events only when there are analog events.

Expected behavior

The mouse events should continue being generated if the analog is not in its resting position even if it doesn't move.

Steps to reproduce

I do not have another generic controller to use with evdev, but I can consistently reproduce it with any sort of mouse config (w/ or w/o smoothing, trackball, etc).

Using this profile leads to jittery mouse movement. The mouse moves momentarily when the analog is moved to the max and gets "unstuck" only when there are extra events (eg. wiggle the analog a bit)

Videos

Default behavior:

wofuzz.mov

Increasing the fuzz for the axes makes it even more noticeable due to sparser events:

sudo evdev-joystick -e /dev/input/event0 -f 20 -a 0; sudo evdev-joystick -e /dev/input/event0 -f 20 -a

wfuzz.mov
@nikitautiu
Copy link
Author

Nvm. I just noticed that #576 was fixed in version 4.9.12 which is newer.

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

1 participant