Mouse problems

New Message Reply Date view Thread view Subject view Author view

Roy Ruddle (Ruddle++at++cardiff.ac.uk)
Tue, 25 Aug 1998 15:23:50 +0100 (BST)


Hi there,

I'm using pfuGetMouse() to get hold of mouse button presses + releases.
It seems that the mouse structure (mouse.click and mouse.release) does not
record more than 1 mouse button at a time, although the comments in the
definition of pfuMouse (pfutil.h) suggest otherwise.

It's quite likely that I'm doing something wrong, though I can't see what.

For info, my application looks like this:

while( ... ) { // Main simulation loop
  pfSync()
  pfuGetMouse( mouse )
  pfFrame()
}

Has anyone got a suggestion?

roy


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Aug 25 1998 - 07:23:57 PDT

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