XTestFakeButtonEvent with buttons > 3?
peter.hutterer at who-t.net
Sun Oct 11 20:34:51 PDT 2009
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.
More information about the xorg