🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: InputEvent Handling

#3655
From: Martin Taillefer
Date: Wed, 30 May 1990 02:53
14 lines
1022 bytes
>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?

As an input handler, you are passed a pointer to an input event to process.
You can submit this input event to RawKeyConvert directly and you get ANSI
sequences. Works well.

--
-------------------------------------------------------------
Martin Taillefer   INTERNET: martin@pnt.CAM.ORG   BIX: vertex
UUCP: uunet!philmtl!altitude!pnt!martin     TEL: 514/640-5734
Technical Details
Message-ID: <3250.AA3250@pnt.CAM.ORG>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!philmtl!altitude!pnt!Martin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!philmtl!altitude!pnt!Martin
From: Martin@pnt.CAM.ORG (Martin Taillefer)
Newsgroups: comp.sys.amiga.tech
Subject: Re: InputEvent Handling
Message-ID: <3250.AA3250@pnt.CAM.ORG>
Date: 30 May 90 02:53:44 GMT
Followup-To: comp.sys.amiga.tech
Lines: 14