www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/21/15:17:34

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Keyboard
Date: Fri, 21 Aug 1998 15:58:11 -0300
Organization: NBTel Internet
Lines: 21
Message-ID: <35DDC342.4084E455@unb.ca>
References: <903476490 DOT 984559 AT polka> <35DB0926 DOT 7F3AA022 AT unb DOT ca> <35dc757a DOT 0 AT news DOT provide DOT net> <35dd598f DOT 2208585 AT avlgate>
NNTP-Posting-Host: fctnts11c17.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Arndt Muehlenfeld wrote:

> The extended function byte in scan codes is E0h which is in fact 224.
> Make codes (key down) are distinguished from release codes (key up) by
> a F0h byte. For example, when Escape is pressed, the make code is 01h.
> Upon release the scan code bytes are F0h,01h.
> Extended functions:
> Right-Ctrl down:        E0h,14h
> Right-Ctrl up:  E0h,F0h,14h

    That is incorrect.  The release scan for escape is 0x81.  The break code
is not preceded by 0xF0, it is OR'D (|) with 0x80.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019