Open rjaygalvez opened 3 years ago
@rjaygalvez Hi there! I personally don't use horizontal scrolling and was not going to implement. Also horizontal scrolling won't work in some apps. Which app you work in? You can first test if it works at all by changing this porting of code to do just horizontal wheel event instead of vertical:
if (direction = 1)
; send, {wheeldown %n%}
send, {wheelright %n%}
if (direction = 0)
; send, {wheelup %n%}
send, {wheelleft %n%}
If it works in your app then you could add the code, same as for vertical, just use separate variables for X and Y coordinates and all other variables. So basically duplicate the whole part starting from mousegetpos
and edit correspondingly for both coordinates.
Hi guys, thank you for creating this. It helped me a lot with my work. I would like to request if you can possibly add functionality for horizontal scrolling?