Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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.lunak@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 );
    }

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.