Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!slvblc!dick From: dick@slvblc.UUCP (Dick Flanagan) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Sys Req - key. Summary: Real scan codes are very low level Keywords: SysReqm,scan,codes,keyboards Message-ID: <71@slvblc.UUCP> Date: 16 Dec 89 21:43:12 GMT References: <187@nmtvax.nmt.edu> <1989Dec5.190738.17084@ux1.cso.uiuc.edu> <20358@pasteur.Berkeley.EDU> <1806@bucket.UUCP> Reply-To: dick@slvblc.UUCP (Dick Flanagan) Organization: SLV Systems Group, Ben Lomond, CA Lines: 13 In article <1806@bucket.UUCP> leonard@bucket.UUCP (Leonard Erickson) writes: > >The code for SysReq is 54h. But it takes an incredibly low-level access >to the keyboard to ever see scancodes. (hint: the shift keys send scan >codes, so if hitting shift doesn't result in a value, you aren't getting >the scancodes. Scan codes are quite low level. Most keyboards will give you different scan codes for the left and right shift keys, and each key will give you two different codes: one when the key is pressed (the 'make') and another one when the key is released (the 'break'). Dick