🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3638

InputEvent Handling

#3638
From: Mark Millard
Date: Tue, 29 May 1990 22:43
23 lines
1296 bytes
I would like to solicit some help in understanding how to write
an InputEvent handler using the keyboard and/or input device.
What I am struggling with is how to map the ie_Code and ie_Qualifier
into the keymap to obtain an ASCII string.  I want to use the default
keymap, and I assumed there was an easy way to do this.  Is this
a bad assumption?  I was unable to find any functions or device
commands to do this.

I read that the console device can be used without a Intuition window.
I also found a console function which would do what I want (RawKeyConvert).
Unfortunately, I didn't understand how to obtain an InputEvent list
to pass to RawKeyConvert().  Am I supposed to install this function using
the "input" device?

Any help would be appreciated, espcially from someone who has had
experience using these drivers.

Thanks,

Mark Millard
email: sun!mcrware!markm
phone: 515-294-1929
Technical Details
Message-ID: <1669@mcrware.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcrware!markm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcrware!markm
From: markm@mcrware.UUCP (Mark Millard)
Newsgroups: comp.sys.amiga.tech
Subject: InputEvent Handling
Message-ID: <1669@mcrware.UUCP>
Date: 29 May 90 22:43:51 GMT
Reply-To: markm@mcrware.UUCP (Mark Millard)
Organization: Microware Systems Corp., Des Moines, Iowa
Lines: 23