On Tuesday 19 of April 2011, Kohei Yoshida wrote: > Anyone who has a special mouse with horizontal wheel willing to take on > this bug? > > https://bugs.freedesktop.org/show_bug.cgi?id=36380 > > All my mouses only have vertical wheel, and it's impossible to even > verify this bug, let alone fix this behavior.
The attached small app fakes a single scroll to the left (change the 6's to 7's for right). Compile and link with something like 'g++ a.cpp -lXtst -lX11'. -- Lubos Lunak l.lu...@suse.cz
#include <X11/Xlib.h> #include <X11/extensions/XTest.h> int main( int argc, char* argv[] ) { Display* dpy = XOpenDisplay( NULL ); XTestFakeButtonEvent( dpy, 6, True, 0 ); XTestFakeButtonEvent( dpy, 6, False, 0 ); XCloseDisplay( dpy ); }
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice