-
Notifications
You must be signed in to change notification settings - Fork 186
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
Disable touchpad while typing does not work in Wayland (wayfire) if keyd is running #889
Comments
Can you post the output of |
keyd monitor Pressing the buttons and moving the cirsor with touchpad at the same time. If I kill keyd - typing on keyboard disable touchpad for a while - it activates after some delay when the last key released |
Having the same issue using sway. The quirks workaround does not seem to resolve the issue either.
|
I'm having the same issue. device added: 0001:0001:a38e6885 AT Translated Set 2 keyboard (/dev/input/event3) |
I was struggling, and nothing worked for me, eventually I ended up creating a service to monitor keyd events... |
just as idea - maybe it is possible to include such functionality in the keyd code? The only difference I see so far is that the logic should not disable the touchpad on modifier key press - f.e if I press Win key or Alt or Shift or Ctrl - tochpad should continue to work - there are many things controlled by mouse + modifier key. |
Makes sense, the logic should be slightly changed, maybe add list of keys to exclude as variable on top of script... Or maybe to pause script, and map pause to specific key combination... |
Can you try adding the following to
The problem is that keyd does not manage the mouse by default (unless you explicitly add it, which is experimental). Proper touchpad support is actually non trivial to implement since there are a lot of hardware specific considerations (keyboards are much easier by contrast). In this case it makes sense to make use of libinput. |
this overrides worked for me OK - now touchpad behaves correctly. So for me the issue can be closed, |
This solution did not work for me, log looks the same as originally.
|
@wzqj Can you post some more details about your system? The specific distro/DE/hardware would be useful. |
Sure, on Arch using Sway. on Dell Latitude 7420 -> swaymsg -t get_inputs Input device: keyd virtual pointer Input device: DELL0A36:00 06CB:CE65 Mouse |
What would be default content of |
Same issue |
but works OK if I stop keyd.
Could be that I just miss some config for it bit I am really lost here.
All I use keyd for is remapping this ugly useless M$ copilot key back to Ctrl, so my config is just one-liner
leftshift+leftmeta = overload(control, esc)
The text was updated successfully, but these errors were encountered: