From: Endlisnis 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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