rvaiya / keyd

A key remapping daemon for linux.
MIT License
3k stars 175 forks source link

Recognize mouse input to cancel oneshot #811

Closed lauritzt closed 3 months ago

lauritzt commented 3 months ago

Currently, mouse input does not cancel the sticky behaviour of oneshot like pressing a keyboard key does.

I would prefer an option where mouse input (both scrolling and clicks) have the same behaviour as keyboard keys. This would be particularly useful for diagramming or image manipulation applications, where it is common to hold down modifier keys while using the mouse.

When using keyd monitor, clicks show up, but scrolling does not.

The current behaviour was observed with keyd v2.5.0 on openSUSE Tumbleweed with Linux 6.9.9-1-default.

nsbgn commented 3 months ago

Mouse input should currently behave like that if a mouse ID is added to your config. Note that the wildcard * captures only keyboard, so it needs to be added explicitly.

See #739

lauritzt commented 3 months ago

Oops, I guess I should have looked more closely at other issues.

Many thanks for the quick response!