First of all, please understand that this request was done independently 
of the patch submitted. The patch still has to be applied even if Button6 
and 7 are not added to X.h .

El S�b 22 Sep 2001 14:47, Branden Robinson escribi�:
> On Sat, Sep 22, 2001 at 12:48:15AM +0200, Antonio Larrosa Jim�nez wrote:
> > I would also like to ask for Button6 and Button7 (and related) to be
> > defined in X.h . Would this be possible ?
>
> As I understand it, the core protocol is limited to 5 buttons.  To use
> an input device that has more, you must use the XInput extension.

I suppose that means I'll have to implement a XInput extension to be used 
with usual mice and trackballs. Note that I've never done anything like 
that before (just another patch some time ago for mouse.c), so I'd like to 
know if there's any documentation on how to do so, or I should just read 
similar things like the wacom driver and just duplicate most of the mouse 
driver.

Also, is it really possible to have a normal mouse driver for a mouse and 
then using an XInput driver for the same device in order to be able to 
send more button events ? I'd say this is needed, so that "old" 
applications can receive normal mouse events while newer applications will 
be able to understand the new XInput driver with the horizontal wheel, 
isn't it so? Is it really possible to have two drivers to handle the same 
device?

>From another point of view, why are there two options since a long time 
ago for the mouse driver called XAxisMapping and YAxisMapping each one 
taking two button numbers ? If we have 3 standard button numbers, aren't 
these options supposed to be used for buttons number 4,5,6 and 7? If 6 and 
7 shouldn't be used, why are those options there at first place taking 4 
different numbers?

Greetings,

--
Antonio Larrosa Jimenez
KDE Core developer  - [EMAIL PROTECTED]
SuSE Labs developer - [EMAIL PROTECTED]
http://perso.wanadoo.es/antlarr
KDE - The development framework of the future, today.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to