Keyboard polling problem

New Message Reply Date view Thread view Subject view Author view

Nuno Godinho (ngod++at++camoes.rnl.ist.utl.pt)
Mon, 23 Sep 1996 19:02:06 +0100


I have a problem reading the keyboard.

Perfly reads keyboard events exacly as a terminal window. This means it
doesn't look at the state of the keyboard. It actually depends on the
repetition rate defined in the system configuration to get each key.

The problem with this is that when using the keyboard to navigate you get
keyboard events at the same rate you would get them when typing in a
prompt.

What I really wanted was to poll the actual keyboard state so that I can
get a keypress every frame!

How can this be done?

thanks
        Nuno
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:37 PDT

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