pfuGetEvents and/or keyboard win focus prob?

New Message Reply Date view Thread view Subject view Author view

Les Elkins (lelkins++at++zeus.lnk.com)
Wed, 2 Dec 1998 19:55:50 -0500 (EST)


pfHello,

I'm currently working on a Performer app which is having some
problems with keyboard input. Most of the time- but not all-
I'm not getting any events returned from pfuGetEvents. The
mouse events still come through fine (location/buttons). Of
course this code worked fine for quite a while, and I haven't
been able to recreate the events leading up to when it
started having problems.

I seem to have the best luck when don't touch the mouse or
keyboard after starting the application. If I let it run
for a few seconds, then start typing, then I have a good
chance of having it work. If I type or mouse immediately
when the window comes up, then my chances aren't so hot.

Even when things work fine, it's not forever. When my code
starts doing some network listening and dynamic creation of
stuff in the scene graph then I'm without keys again. The mouse
still works fine.

I'm also using both pfuGetEvents for keyboard stuff, and
pfuGetMouse for mouse stuff. Changing the order of the
two calls doesn't seem to help. When the keyboard stops
functioning, the numDevs field of the parameter is zero.
I've tried setting it to -1 before the call, and it gets
zeroes, so I know the call is doing something, it's just
as though Performer is not seeing the keypresses.

This has the air of a memory problem in that it's intermittent,
but careful examination of the code with Lint didn't turn up
any smoking guns. I've also run Purify on the executable, but
this hasn't turned up anything out of the ordinary during execution.

Any suggestions about what to look for next would be appreciated.

The machines we're using are an Octane and Onyx IR, with
the following versions:

I performer_dev 10/07/98 Performer2.2 Development Software

and patches
I patchSG0003018 11/19/98 Patch SG0003018: Performer 2.2 performer_tools security fix
I patchSG0003229.performer_eoe_compat32 11/19/98 Performer2.2.2 Backwards Compatibility DSOs (n32)

Thanks...
  
-Les

  
-----------------------------------------------------------------------
        Les Elkins
        LNK Corporation, Inc
        Riverdale, MD
        (301) 927-3223
        lelkins++at++lnk.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Dec 02 1998 - 16:56:04 PST

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