Code: Select all
#IfWinActive ahk_class Azumanga Main Window
wheelup::
Send, {up}
return
wheeldown::
Send, {down}
return
Code: Select all
#IfWinActive ahk_class Azumanga Main Window
wheelup::
SendInput, {up}
return
wheeldown::
SendInput, {down}
return
Code: Select all
#IfWinActive ahk_class Azumanga Main Window
wheelup::up
wheeldown::down
Ideally I would like to be able to rebind all four arrow keys to the scroll wheel, left arrow for left scroll on the wheel, right arrow for right scroll, and up and down for the up and down scroll. But I can't even get up and down to work.
Wheelup/down direct assignments lead to continuous scrolling.
Using Send only works sometimes - eg a single click on the scroll wheel is only recognized sometimes. IF CAPS LOCK IS ON when you start the script, scrolling up and down with the mouse wheel keeps toggling CAPS LOCK, and (again) SOMETIMES may result in the desired action (eg a press of the up or down arrow)
SendInput appears to behave exactly the same as Send.
I have a wireless Logitech M570 trackball. I have been able to reconfigure it in other games. Logitech's software will only allow me to reprogram the 2 extra keys (which are being used for z and c in this game because that is what the game uses instead of return and esc) and the middle mouse CLICK, not the scroll wheel. The game is Reccetear which has a stupidly backwards key binding that does not allow you to rebind to the mouse and which does not use the mouse at all.
Help?