Reprogramming a USB volume control knob to scroll wheel functions

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
rpb019
Posts: 2
Joined: 09 Jul 2022, 02:04

Reprogramming a USB volume control knob to scroll wheel functions

09 Jul 2022, 02:11

Hello! I've just purchased a usb volume control wheel off of Amazon and I'd like to change the functionality of it to that of the mouse scroll wheel. I have absolutely no clue what I'm doing, so if anyone would be able to help me I would really appreciate it. The volume knob shows up as "USB Input Device" in task manager. I also have a volume knob on my keyboard that I would like to retain the function of, is this possible? The controller I purchased was this one. https://www.amazon.com/dp/B07GR78PCK?ref=ppx_yo2ov_dt_b_product_details&th=1

I'm hoping to change the functionality as follows
Turn wheel clockwise - mouse wheel up
Turn counterclockwise - mouse wheel down
Click - mouse wheel click

Would anyone be able to help me figure out how to do this please?
Lamron750
Posts: 8
Joined: 02 Feb 2019, 19:31

Re: Reprogramming a USB volume control knob to scroll wheel functions

09 Jul 2022, 04:11

That knob sends regular keyboard commands, you can change them like this:

Code: Select all

Volume_Up::Send, {WheelUp}
Volume_Down::Send, {WheelDown}
Volume_Mute::Send, {Click}
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Reprogramming a USB volume control knob to scroll wheel functions

09 Jul 2022, 09:15

I also have a volume knob on my keyboard that I would like to retain the function of
@Lamron750 - wouldn’t that impact this button too? :think:
rpb019
Posts: 2
Joined: 09 Jul 2022, 02:04

Re: Reprogramming a USB volume control knob to scroll wheel functions

09 Jul 2022, 22:38

Lamron750 wrote:
09 Jul 2022, 04:11
That knob sends regular keyboard commands, you can change them like this:

Code: Select all

Volume_Up::Send, {WheelUp}
Volume_Down::Send, {WheelDown}
Volume_Mute::Send, {Click}
Thank you so much for the response! This does work, but it also causes the volume wheel on my keyboard to act as a scroll wheel as well. Do you know of a way to give them separate functions so that the volume knob scrolls, and the keyboard volume wheel still controls the volume?
Lamron750
Posts: 8
Joined: 02 Feb 2019, 19:31

Re: Reprogramming a USB volume control knob to scroll wheel functions

10 Jul 2022, 02:38

The simplest solution is to add a modifier key, so that the default function is to scroll, but if another key is held control volume. You're probably scrolling a lot more than adjusting the volume.

If you REALLY want to keep the controls separate, then you need to detect which keyboard sent the key. Look here: viewtopic.php?t=45307
UsuarioForista
Posts: 1
Joined: 15 Apr 2024, 16:18

Re: Reprogramming a USB volume control knob to scroll wheel functions

15 Apr 2024, 16:24

Hi, i´m also new to this, and have no idea what to do, but i´m in a similar situation as the other person that posted here.
I have a keyboard with a volume knob, i would like to use that same knob as a scroller for pdfs and as a volume controller, is it possible to configure it in a way that it normally works as a volume controller, but when activating a key (like the bloq mayus for example) it works as a page scroller?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: IfThenElse, lechat, LuckyJoe, osail and 262 guests