Page 1 of 1

[v2.0.14 bug] wheelDown/wheelUp not work

Posted: 08 May 2024, 02:15
by Cicin
[Moderator's note: Topic moved from Bug Reports.]

with same source code, I use some ^ + ! wheelDown/up remapping in several conditions.

in version 2.0.12 2.0.13 2.0.14
work normally at first and after some time, wheelDown/up doesn't work。
it is, wheelDown/up can't scroll down/up the window any more。


but with same source code, 2.0.11 works well so I use this version back.

I can't give more detail except above, couse of no more information in ahk debug/info winodw。

maybe some changes in mouse wheel after 2.0.11?

Re: [v2.0.14 bug] wheelDown/wheelUp not work

Posted: 13 May 2024, 09:06
by Cicin
found where the bug is:

Code: Select all

	XButton1 & WheelUp::Volume_Up
	XButton1 & WheelDown::Volume_Down
	xbutton2 & WheelUp::WheelLeft
	xbutton2 & WheelDown::WheelRight
after any operation above
wheel up/down not work

Re: [v2.0.14 bug] wheelDown/wheelUp not work  Topic is solved

Posted: 13 May 2024, 16:46
by lexikos
That has never been valid/supported.
The following keys are not supported by the built-in remapping method:
  • The mouse wheel (WheelUp/Down/Left/Right).
Source: Remapping Keys (Keyboard, Mouse and Controller) | AutoHotkey v2
Use Send, so they will be hotkeys, not remapping.

Code: Select all

XButton1 & WheelUp::Send "{Volume_Up}"
XButton1 & WheelDown::Send "{Volume_Down}"
xbutton2 & WheelUp::Send "{WheelLeft}"
xbutton2 & WheelDown::Send "{WheelRight}"
Add {Blind} if required.

Re: [v2.0.14 bug] wheelDown/wheelUp not work

Posted: 14 May 2024, 05:07
by lexikos
Slight correction: v2.1-alpha.5 and later support remapping to/from the wheel.

Re: [v2.0.14 bug] wheelDown/wheelUp not work

Posted: 14 May 2024, 23:11
by Cicin
great thanks, problem solved.
I'll try the new version
lexikos wrote:
13 May 2024, 16:46
That has never been valid/supported.
The following keys are not supported by the built-in remapping method:
  • The mouse wheel (WheelUp/Down/Left/Right).
Source: Remapping Keys (Keyboard, Mouse and Controller) | AutoHotkey v2
Use Send, so they will be hotkeys, not remapping.

Code: Select all

XButton1 & WheelUp::Send "{Volume_Up}"
XButton1 & WheelDown::Send "{Volume_Down}"
xbutton2 & WheelUp::Send "{WheelLeft}"
xbutton2 & WheelDown::Send "{WheelRight}"
Add {Blind} if required.