Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Mon, 1 Apr 1996 09:25:38 +0100
Rather than polling the keys try and read press & release events if this is
supported via whatever API youre using for your input, use this to keep your
own track of the key status.
Rgds,
Angus.
On Apr 1, 1:01pm, Ng Kian Bee, SIT/CS wrote:
> Subject: Question. Pls Need help.
>
> Hi,
> I dunno if these are the right questions to ask over here. If yes, pls help,
> if no, appreciate if someone could direct me to the right place.
>
> 1. I'm trying to implement a pin-ball game using OpenGL. The trouble is
> OpenGL doesnt seem to be able to recognise 2 simultaneous keyboard
> input. I've 2 keys representing the 2 levels of the pin-ball machine. When
> I've one key input, I cannot have another key input. So, I cant simulate
> two levels being pressed together. Anyone knows how to do it? Or
> is there similar codes out in the net?
> Please help!
>
> 2. Last time I used to use the public doman of VOGL where I've
> the function of getmatrix(). But in OpenGL, there doesnt
> seem to have such function. Could someone help me how to implement
> a getmatrix() function in OpenGL? What I want to do is to get the current
> matrix from the Model/View matrix stack, and multiply it with my own
> matrix. Anyone?
>
> Thanx!!!
>
> Rgds.
> Kian
> ngkb++at++nyp.ac.sg
>-- End of excerpt from Ng Kian Bee, SIT/CS
-- Angus Dorbie, The Reality Centre, Silicon Graphics Ltd, UK dorbie++at++reading.sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:40 PDT