Various 3D applications' mouse behaviour is erratic
OrderlyUnicode opened this issue · 3 comments
Info
dwl version: 0.4.78-gd4f2c6b-dirty (cloned from wlroots-next branch, effects main branch as well)
wlroots version: 0.17.0.r6571.717ded9b-1 (AUR installation, also appears on 0.16.2-2 via pacman)
Description
This appears to be related to #101 but manifests itself differently. What I initially thought to be an issue with mouse acceleration seems to be also an issue with how movements are interpreted. Any horizontal movement appears to influence the vertical movement and vice versa, to the point where the camera will force itself to point either all the way up and all the way down while spinning rapidly. A specific 3D game which has a rather strange "mouse smoothing" setting which seems to intentionally delay mouse movement seems to make the issue less severe when turned all the way up, to the point where I can almost fight it and remain in control.
I do have patches applied, but they are unrelated to mouse movement, so I don't expect them to influence the issues. Either way, I'm currently using the fibonacci layout, attach bottom, and monfig patches listed in the wiki.
I have seen in previous issues that it's recommended to try the pointer constraints patch. Unfortunately, building dwl with only the pointer constraints patches (each one results in the same issues) throws a bunch of errors when running make
about "too few arguments" with wlroots specific functions on the main branch, and fails to apply the patch on the wlroots-next branch.
If there's any additional information that would help, I will provide what I can.
you need the pointer-constraints patch for games to work. the camera doesn't work unless you apply the patch.
I have seen in previous issues that it's recommended to try the pointer constraints patch. Unfortunately, building dwl with only the pointer constraints patches (each one results in the same issues) throws a bunch of errors when running make about "too few arguments" with wlroots specific functions on the main branch, and fails to apply the patch on the wlroots-next branch.
Actually, the issue may be related to the version of wlroots I was using, as I tried again with 0.16.2 and the main branch and it seems to be working. I suspect the issue might be the patch not working with the latest commit of wlroots. Closing because the issue seems to be with wlroots and/or the patch, not dwl itself.