XTestFakeButtonEvent with buttons > 3?
McDonald, Michael-p7438c
Michael.McDonald at gdc4s.com
Mon Oct 12 09:51:02 PDT 2009
> -----Original Message-----
> From: Peter Hutterer [mailto:peter.hutterer at who-t.net]
> Sent: Sunday, October 11, 2009 8:35 PM
> To: McDonald, Michael-p7438c
> Cc: xorg at lists.freedesktop.org
> Subject: Re: XTestFakeButtonEvent with buttons > 3?
>
> On Fri, Oct 09, 2009 at 10:16:43AM -0700, McDonald,
> Michael-p7438c wrote:
> > We've been using XTestFakeButtonEvent quite happily to inject button
> > events until a user decided to use the scroll wheel.
> >
> > Major opcode: 147 (XTEST)
> > Minor opcode: 2 (X_XTestFakeInput)
> > Value: 5
> >
> > So I take it that Xtest only supports buttons 1 thru 3. Has
> this been
> > fixed in newer versions? (We're using version 1.0.1-3.1 from RH5.3)
>
> xtest supports button presses up to the number of buttons the
> device has
> provided. so assuming you have a 5 button mouse you should be
> able to send
> button 5 presses.
"the number of buttons the device has provided"? Which device are you
refering to? The mouse connected to the X server that we're sending the
Xtest message to? That server has the void mouse!
Mike McDonald
More information about the xorg
mailing list