🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Predicting Key Scan Codes (a la DME)

#11699
From: Robert R. Burns
Date: Tue, 07 Mar 1989 00:20
24 lines
1413 bytes
In article <6597@ecsvax.UUCP> utoddl@ecsvax.UUCP (Todd M. Lewis) writes:

)[I posted this before but didn't see it show up, soooo....]

I saw it before, there was just no reply

)  My question(s): Is there any way a program can predict (that is,
)compute on the fly rather than by table look-up) which scan codes
)will come from the keypad and which ones come from the main keyboard?

No.

)I understand that RAWKEY events have a KEYMAP bit,

Actually, the keys on the numeric pad new for the 500/2000, i.e.  ()/*+
don't even have this NUMERICPAD bit set.  (They will for 1.4, but that's
a small consolation)

Solution: hard code it (shudder!).
-- 
Bob Burns, amiga!kodiak        "five year    .         _
| /_  _|. _ |      Commodore __   service  _/ \_      |_) _ |_  _ )'
|<(_)(_)|(_\|<      /\ |  ||| _` /\  pin" `.(5).'     |_)(_\| )(_\ |
| \ Software    ___/..\|\/|||__|/..\___    /.^.\               Faith
Technical Details
Message-ID: <107@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!oliveb!amiga!kodiak
References: <6597@ecsvax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!oliveb!amiga!kodiak
From: kodiak@amiga.UUCP (Robert R. Burns)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Predicting Key Scan Codes (a la DME)
Keywords: RAWKEYS, Scan Codes, Key Pad
Message-ID: <107@amiga.UUCP>
Date: 7 Mar 89 00:20:43 GMT
References: <6597@ecsvax.UUCP>
Reply-To: kodiak@tooter.UUCP (Robert R. Burns)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 24