From: Sylvain <be...@be...> - 2012-05-13 09:34:31
|
Hi, On Tue, May 08, 2012 at 07:20:56PM +0200, Sylvain wrote: > I just committed a test program that registers the multi-touch > callbacks (freeglut/progs/demos/multi-touch/). It should display > small squares with different colors during a multi-touch. > > I tried to plug both a mouse and my (single-touch) wacom pen tablet, > configuring them as 2 independent cursors. Sadly I didn't manage to > get any multi-touch event with the demo :/ > Would you mind testing it? It turns out that X11 multi-touch got disabled during the switch to CMake. I just fixed it. Now I get multi-touch events for all cursors. > > > - check if non-multi callbacks are called on windows > > The first/oldest touch point also controls the mouse cursor, which > > triggers the regular callbacks as usual. > > In the FreeGLUT source code for X11, it seems that the regular > callback is called for any touch: > [...] > > (Same for motion events.) > > So apparently the behavior is not consistent :/ > How do you think the callbacks should behave? My tests show that for X11, both normal and multi callbacks are always invoked. (I tried with a 1-shared-master and a 2-masters config for 2 physical mouses - cursor_id is always the master's id.) I have no idea how this behaves for a true multi-touch device - can you provide info about this? -- Sylvain |