Path: 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 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