xdo_mousedown(xdo, CURRENTWINDOW, 4);
/*
* No idea what to put here
* so that the scroll action actually takes place.
*/
xdo_mouseup(xdo, CURRENTWINDOW, 4);
Hi,
I'm using the libxdo in my project where I need to simulate all the actions of a mouse. I have been able to perform left & right click plus the drag but I'm having problems with implementing SCROLL. I'm using the following code:
xdo_mousedown(xdo, CURRENTWINDOW, 4);/*
* No idea what to put here
* so that the scroll action actually takes place.
*/
xdo_mouseup(xdo, CURRENTWINDOW, 4);