Re: More bugs in pfuGetEvents?

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Thu, 11 Feb 1999 12:08:16 +0100 (MET)


>
> > On Wed, 10 Feb 1999, Mario Veraart wrote:
> >
> > I have found what could be a bug in the code of pfuGetEvents.
> > Depending on the time that it takes to get the forked X-input process
> > initialised you have the value of the returned structure also
> > uninisialised.
>
> Mario suggested a fix for this problem (events.numDevs unitialised).
>
> I've also hit that problem and also found that events.numKeys doesn't
> alswys get initialised. I currently trap this by manually checking for
> if( events.numKeys > PFUDEV_MAX_INKEYS )
I have also added this sanity check in my code.
All those Segmentation Faults 8-)

>
> Another bug I've hit is that mouse button pressed and releases are
> frequently missed by pfuGetEvents(). This happens on more than one type of
> hardware so it looks like a s/w problem.
I sometimes have this probelm too. A ones had the case that it didn't
recognised a hole series of mouse clicks. I had to restart the
program.

Mario

>
> Before I get my hands dirty (+ bearing in mind I'm not an X expert), has
> anyone else encountered (preferably fixed!) these problems
>
> cheers
>
> roy


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Feb 11 1999 - 03:13:08 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.