How can I use robotgo to simulate mouse forward and backward?
From my understanding, robotgo supports the first three items, but not the fourth and fifth.
https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button
This might help - some mice (logitech?) apparently map wheelLeft and wheelRight to buttons 4 and 5...I've remapped mine so can't test this...
// Toggle toggle the mouse, support button: // // "left", "center", "right", // "wheelDown", "wheelUp", "wheelLeft", "wheelRight"
From - https://github.com/go-vgo/robotgo/blob/v0.110.7/robotgo.go#L724
This might help - some mice (logitech?) apparently map wheelLeft and wheelRight to buttons 4 and 5...I've remapped mine so can't test this...
// Toggle toggle the mouse, support button: // // "left", "center", "right", // "wheelDown", "wheelUp", "wheelLeft", "wheelRight"
From - https://github.com/go-vgo/robotgo/blob/v0.110.7/robotgo.go#L724
thx. I will test it.