Vincent wrote:

> I read on various pages on the web that fltk supports multiplemice support.
> I understood that this is allowed under Xorg with MPX. MPX is included into 
> Xorg since version 1.7 (currently 1.8).
> However apparently fltk doesn't support it out of the box, it looks like we 
> have to build our fltk version enabling multiplemice support and applying a 
> patch. Then we could test everything thanks to a program in test/multiplemice.
>
> Unfortunately I failed in every attempt I did to build my version of fltk. I 
> didn't even find the test file in versions 1.1, 1.3 or 2.x.

You need fltk 1.3 for the patch linked below. You should first
try to build fltk 1.3 w/o the patch and see if this works.

> So, how is it possible ? Is it the wright way or not ?

Maybe...

> I know we can install fltk with apt-get or yum, but do those versions support 
> multiple mice ?

No, standard FLTK releases don't include multiple mice support.

> Where is the file test/multiplemice ?

It is included in the patch you mentioned. You'll get it when
you install the patch. Note that you will need to modify it
for current FLTK versions.

> my sources are :
> the site that talks about the patch and the test file :
> http://www.clearchain.com/blog/posts/adding-multiple-mice-support-to-fltk-using-mpx/comment-page-1#comment-734

The patch looks good, although it is for an older version of
fltk 1.3. I tried to install it, but couldn't get configure
to work because of errors related to PKG_CHECK_MODULES. :-(

I'll have another try later, but this will definitely not
go into the next release (fltk 1.3.0). Maybe fltk 1.4 ?

> though it looks old because they say nothing about mpx in Xorg 1.7 that I 
> learnt here :
> http://who-t.blogspot.com/2009/10/xi2-and-mpx-released.html
>
> Do you know some software that use those libraries ?

I don't know, but I read something about gtk patches/updates,
hence gtk might have it already.

What are you trying to do with it? I'm curious what it is
good for (in practice).

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to