kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/post/Kando-1-0-0-released-G2G5Z1DOS
Other
2.65k stars 78 forks source link

Allow Mouse Keys in Shortcuts/Menu Activation #433

Open Irbynx opened 4 months ago

Irbynx commented 4 months ago

Mouse keys can't be currently used as a way to open a pie menu (this functionality can be done via using external tools to map a mouse key to a keyboard combination; naturally this is a little clunky but not impossible). Having this built in, perhaps as a separate setting, will be quite helpful in making mouse-oriented usage of the pie menus easier. This might especially be helpful for the tablet users, since stylus buttons count as mouse buttons and allowing mouse keys to trigger pie menus will especially be helpful in the context of a graphics tablet which generally doesn't use keyboard, or at least not in a convenient way.

Schneegans commented 4 months ago

Hi there! Thanks for the suggestion. This would indeed be nice. However, this will be very hard to implement in a cross-platform manner. Something like this is not available in Electron or NodeJS.

I think that without admin / root privileges or some additional daemon processes this will not be possible on Linux/Wayland. And on Windows and macOS it will at least require native modules with further dependencies. There is for instance iohook which we could look into.

At some point, I'll do this, but for now there are other, more important things to do :smile:

rairay91 commented 3 months ago

I too want that option

EternalSadnes commented 3 months ago

Plus one for that feature!

vfxturjo commented 3 months ago

people who use mouse with extra buttons will be hugely benefitted... I want to bind menus on mouse 4 and mouse 5 button... image

Schneegans commented 2 months ago

We now have a list of third-party tools in the documentation which you may use to open Kando using mouse buttons or in various other ways.

If you find another cool tool, we can add it to the list as well!