keyd icon indicating copy to clipboard operation
keyd copied to clipboard

Scroll wheel support

Open pangyulei opened this issue 3 years ago • 9 comments

I checked with keyd -l only find 5 mouse relate keys, mouse1 and mouse2 I think represent those 2 addition buttons on my mouse which not really use often do I miss sth? or keyd still not support binding mouse wheel?

pangyulei avatar Nov 09 '22 08:11 pangyulei

Scroll events are not treated as buttons (this is an X notion). Improved mouse support (including support for scrolling) should be introduced soon, though it is currently unsupported.

rvaiya avatar Nov 09 '22 09:11 rvaiya

Is scroll wheel still unsupported? I saw some references of REL_WHEEL in source code, but I'm unable to make it work (like hold left-button and scroll wheel to change audio volume).

pintassilgo avatar Jun 19 '23 07:06 pintassilgo

Is scroll wheel still unsupported? I saw some references of REL_WHEEL in source code, but I'm unable to make it work (like hold left-button and scroll wheel to change audio volume).

seems still not yet. (I just walked through the near commits ~

Binly42 avatar Feb 21 '24 06:02 Binly42

Unfortunately this is still unsupported. The code you are seeing relates to propagating scroll events though to higher levels of the input stack when a mouse is managed by keyd (mouse support is itself still experimental).

rvaiya avatar Feb 21 '24 07:02 rvaiya

@pangyulei @rvaiya Can you re-open this issue? I feel it would be better if the title was changed to something like “Scroll wheel support”.

keyd's ability to control the mouse wheel has the following possibilities, for example

  • Operations in audio and video editors
    • Scrolling on the time axis
    • Adjustment of parameters such as brightness, contrast, volume, left/right balance (pan), etc.
  • Manipulation in synthesizers, quick setting of parameters such as track volume, pan, ADSR, etc. through MIDI protocol

This is only part of the story; the ability to handle arbitrary parameters through keys and commands in keyd has great potential to dramatically increase the efficiency of operations to the software.

tkna91 avatar May 03 '25 06:05 tkna91

@pangyulei @rvaiya Can you re-open this issue? I feel it would be better if the title was changed to something like “Scroll wheel support”.

keyd's ability to control the mouse wheel has the following possibilities, for example

* Operations in audio and video editors
  
  * Scrolling on the time axis
  * Adjustment of parameters such as brightness, contrast, volume, left/right balance (pan), etc.

* Manipulation in synthesizers, quick setting of parameters such as track volume, pan, ADSR, etc. through MIDI protocol

This is only part of the story; the ability to handle arbitrary parameters through keys and commands in keyd has great potential to dramatically increase the efficiency of operations to the software.

I'm looking for a method to send scroll wheel and mouse movements through the mouse with keyd

Are there any new updates to achieve these results ? [Feature request]: functions or mouse wheels and mouse movements for keyd #1070

gitdexgit avatar Aug 11 '25 12:08 gitdexgit

@pangyulei @rvaiya Can you re-open this issue? I feel it would be better if the title was changed to something like “Scroll wheel support”.

keyd's ability to control the mouse wheel has the following possibilities, for example

  • Operations in audio and video editors

    • Scrolling on the time axis
    • Adjustment of parameters such as brightness, contrast, volume, left/right balance (pan), etc.
  • Manipulation in synthesizers, quick setting of parameters such as track volume, pan, ADSR, etc. through MIDI protocol

This is only part of the story; the ability to handle arbitrary parameters through keys and commands in keyd has great potential to dramatically increase the efficiency of operations to the software.

already re-open this issue, XD

pangyulei avatar Aug 11 '25 13:08 pangyulei

@pangyulei @rvaiya Can you re-open this issue? I feel it would be better if the title was changed to something like “Scroll wheel support”. keyd's ability to control the mouse wheel has the following possibilities, for example

  • Operations in audio and video editors

    • Scrolling on the time axis
    • Adjustment of parameters such as brightness, contrast, volume, left/right balance (pan), etc.
  • Manipulation in synthesizers, quick setting of parameters such as track volume, pan, ADSR, etc. through MIDI protocol

This is only part of the story; the ability to handle arbitrary parameters through keys and commands in keyd has great potential to dramatically increase the efficiency of operations to the software.

already re-open this issue, XD

For now this is my plasterfix

I made a scroll wheel using the combination of keyd and xdotool...

I made a capslock+g(practical explanation) = swap(scrolling)

[scrolling]

s = katakana

so use some keys that are not used you know extra keys... I wish we can have even more keys thanks

then in xdotool i just simply did xbindkeys -K to know the correct name then used that name. I could have used xev to check the name too... whatever

"xdotool click 5" Katakan

and that's it it works flawlessly you can hold flawlessly you hold s and it scrolls normally and stuff.


You can also achieve similar things with input ramaper but I haven't tried it before but it should be possible as long as you can record the key which should be recorded I think. and then bind it to scroll this way no need for xbindkeys

gitdexgit avatar Aug 14 '25 14:08 gitdexgit

Yes, you can use that method to set the output of Remap to the scroll wheel. My main focus here is to set the remap input to the scroll wheel.

tkna91 avatar Aug 14 '25 16:08 tkna91