Re: I need a keyboard code list

New Message Reply Date view Thread view Subject view Author view

Jean-Luc Dery (dery++at++cae.ca)
Tue, 25 Jun 1996 11:10:53 -0400


On Jun 24, 1:29am, Nuno Godinho wrote:
> Subject: I need a keyboard code list
> Hello.
>
> I have a problem:
>
> When testing for keyboard events I have to:
>
> -initialize the keys I want to use with
> device(AKEY);
> for each key I need ('A' in this example)
>
> -test with
> qread(&key)
> and do a case.
>
>
> Where can I get the code list for each key.
> I dont know how to call the arrow keys and most of the symbols...
>
> please help me
>
> Nuno
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Nuno Godinho

You can find the keyboard, mouse and other devices codes in the include file
device.h located in your gl directory. The file is well commented and you
should find your answers in it.

Hope this helps,

-- 
____________________________________________________________________

Jean-Luc Dery CAE Electronics Ltd., 8585 Cote De Liesse System Engineer Saint-Laurent, Quebec, Canada, H4L-4X4 3-D Graphics Applications tel: +1 514 341 2000 extension 2275 dery++at++cae.ca fax: +1 514 340 5496 ____________________________________________________________________ ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html 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:04 PDT

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