ykon / w10wheel.net

Mouse Wheel Simulator
MIT License
106 stars 8 forks source link

Middle click event executed while scrolling #1

Open PohaoGit opened 5 years ago

PohaoGit commented 5 years ago

Thanks for this helpful software! I set the middle drag as the trigger to scroll. It works fine with the mouse, but the problem happened when I using the Thinkpad external keyboard. The scroll event is executed after the middle click event. This is annoying since it will open a lot of tabs on the browser but I just want to scroll the web page.

ykon commented 5 years ago

Thank you for reporting.

There are two options as follows. 1: Middle 2: MiddleDrag

Middle(1) is not send middle click event. MiddleDrag(2) is send middle click event when not dragged.

If you did not want to send middle click event, could you not use Middle(1) option?

... I do not have a Thinkpad external keyboard.

PohaoGit commented 5 years ago

I've tried the Middle, if I set to Middle then I lose the middle click function. What I expect is click send the middle click event, press and drag send the scrolling event. I think it might be the hardware problem because it works well on the mouse.

ykon commented 5 years ago

if I set to Middle then I lose the middle click function.

There is a "Send MiddleClick" option for that. (At the bottom) Middle-click and Shift-key or Ctrl-key or Alt-key is send middle click event.

I think it might be the hardware problem because it works well on the mouse.

MiddleDrag option is no problem with my laptop thinkpad. It may be difficult without actual hardware.

PohaoGit commented 5 years ago

There is a "Send MiddleClick" option for that. (At the bottom) Middle-click and Shift-key or Ctrl-key or Alt-key is send middle click event.

"Send MiddleClick" doesn't work.

MiddleDrag option is no problem with my laptop thinkpad. It may be difficult without actual hardware.

Yes, my Thinkpad laptop also works great! Too shame I can't use it on my thinkpad external keyboard.

ykon commented 5 years ago

"Send MiddleClick" doesn't work.

Doesn't work? Enable "Middle" and also enable "Send MiddleClick". For example, hold the ctrl-key and click the middle button. This should send a middle click event.

PohaoGit commented 5 years ago

Doesn't work? Enable "Middle" and also enable "Send MiddleClick".

OK, I know why. Because I too run AHK. Maybe there are some key conflicts. I disable AHK then Send MiddleClick works. However, MiddleDrag as the trigger is more intuitive IMO.