"Keyboard shortcuts" involving mouse events

Is there a way to bind keyboard+mouse or keyboard+touchpad events to shortcuts? Specifically something like Win+MouseScrollUp to Karousel: Focus Left and Win+MouseScrollDown to Karousel: Focus Right.

I am using fusuma to bind focus left and right to multitouch gestures on a laptop, but I don’t know how to achieve a similar setup for my desktop with a mouse. Due to the fact that there is no multi-touch gesturing it seems to me that I need modifier keys to cleanly map actions to the scroll wheel. I found this page using xbindkeys but the name made me suspicious enough of it’s wayland compatibility to not spend much effort testing it as a possible solution, since I am using Plasma on Wayland.

for something like that i would look outside of plasma at something like input-remapper

1 Like

I have heard of input-remapper and tried it out, but I struggle to surmount my confusion in using it here.

It looks like I can only bind to individual devices[1]? After clicking my mouse or keyboard, it brings me to presets[2], and adding a preset brings me to editor[3]. Record in editor when my mouse is selected doesn’t seem to register either Win key or my scrollwheel.

1:

2:

3:

Combinations across multiple devices apparently can be done, but require some macro programming.

2 Likes