jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
3.05k stars 127 forks source link

Feature request: mouse click/scroll as events #1286

Closed rafaelliu closed 1 month ago

rafaelliu commented 1 month ago

Is your feature request related to a problem? Please describe.

Shortcuts like ctrl + mouse click or cmd + mouse scroll are a bit cumbersome with kanata tap-hold keys.

For example, when using homerow mods, one has to hold the key, wait for it’s timeout so the modifier key registers, then use the mouse. It would be nice if click/wheel scroll would act as key taps. That way, pressing a mod and clicking/scrolling would immediately register as mod + event

Describe the solution you'd like.

Interpret mouse events as key events

Describe alternatives you've considered.

Right now, AFAIK, tap-hold with mouse events require waiting for specified timeout

Additional context

No response

jtroo commented 1 month ago

Depending on your OS this is already supported. Windows+LLHOOK is not supported.

https://github.com/jtroo/kanata/issues/612