From: Gordon Tomlinson (Gordon.Tomlinson++at++warhammeronline.com)
Date: 03/17/2004 07:43:01
I would have to disagree I have old code based on perfly source that
does detect and us keydown and key up event
Maybe they changed the source, my code is over 5 years old now ;), I'll
see if I can dig out the relevant stuff over the weekend from my
archived code
-----Original Message-----
From: John Kelso [mailto:kelso++at++nist.gov]
Sent: 17 March 2004 14:10
To: Performer Mailing List
Subject: Re: [info-performer] keyboard in performer
Hi,
This might be overkill, but the DTK package,
diversetoolkit.sourceforge.net, queues both keypresses and releases when
the cursor is inside any graphics window. You do not need to use
DIVERSE graphics in order to use the toolkit. It comes with an example
of how to read the keyboard.
Its code is based on X events, which is another way to do it directly.
DTK is open source so you might see some code that'll do what you need.
Use Performer to provide the window IDs.
I hope this helps,
-John
On Wed, 17 Mar 2004, Dimi wrote:
> Hi,
> I have send a question about Key releases and Performer many times in
> the past without any response.
> There is no way to detect KeyReleases in Perfromer using the pfutility
> library, just KeyPresses get detected.
> I have verified this by looking into the source code of input.c in
> /usr/share/performer.
>
> Dimi
>
> From: "Gordon Tomlinson" <Gordon.Tomlinson++at++warhammeronline.com>
> Date: Tue, 16 Mar 2004 11:51:09 -0000
> Subject: RE: [info-performer] keyboard in performer ?
>
> This is a multi-part message in MIME format.
>
> ------_=_NextPart_001_01C40B4C.F8EE1D92
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Have you looked at the Perfly source it has it ALL in there
>
> _____ =20
>
> From: stephane adam [mailto:stephane.adam++at++tiscali.fr]=20
> Sent: 16 March 2004 10:58
> To: info-performer++at++sgi.com
> Subject: [info-performer] keyboard in performer ?
>
>
> Hello,
> I'm trying to move in a performer 3D scene with the keyboard. But the
> keyboard's events are only generates about each seconde.=20 Is it
> possible to have more events ?=20 Is it possible to have events when
> the key is pressed and released ?
> thanks
>
> --
> Dimi Christopoulos {christop++at++fhw.gr}
> VR Software Engineer
> Foundation of the Hellenic World
> Athens - Greece
>
>
>
>
-----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> ----------------------------------------------------------------------
> -
>
>
>
-----------------------------------------------------------------------
List Archives, Info, FAQ: http://www.sgi.com/software/performer/
Open Development Project: http://oss.sgi.com/projects/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Wed Mar 17 2004 - 07:47:42 PST