Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!uunet!mcsun!ukc!icdoc!cpb From: cpb@doc.ic.ac.uk (C P Brown) Newsgroups: comp.sys.amiga Subject: How to read the keyboard? Keywords: Amiga, Keyboard, Intuition Message-ID: <2305@gould.doc.ic.ac.uk> Date: 5 Oct 90 12:19:27 GMT Sender: news@doc.ic.ac.uk Reply-To: cpb@doc.ic.ac.uk (Phil Brown) Organization: Imperial College Department of Computing Lines: 11 Can anyone tell me the best Intuition-friendly way of saying "is the z key pressed down at the moment" (or any other key) so that I can detect whichever keys are being pressed? I'm aiming to do it in Modula-2, but C or assembler or any pointers in the right direction welcomed. Thanks for any help, Phil