From: "Chewbaklava" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Keyboard Handler Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Mon, 24 Apr 2000 18:15:11 -0400 NNTP-Posting-Host: 209.222.102.9 X-Trace: harpo 956614172 209.222.102.9 (Mon, 24 Apr 2000 18:09:32 EDT) NNTP-Posting-Date: Mon, 24 Apr 2000 18:09:32 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am storing the value in an ine, and printing it as an int, so 42 dec. The keys that are returning 2 42's are ones like thae arrow keys, insert, delete and so on. Maybe you could just direct me to source code or a tutorial because I just kinds winged it, and I don't really know what I'm doing with keyboard handlers. - Dogansmoobs I am the carrot the rabbit did not like Eli Zaretskii wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1000423094215 DOT 2139G-100000 AT is... > > On Thu, 20 Apr 2000, Chewbaklava wrote: > > > I was making a keybord handler. I got it installed and it reads from the > > keyboard. But there is one problem, when revieving bytes from the keyboard, > > the handler spits out 2 42's before the number of the key. > > 42 decimal or 42 hex? > > Do you see this for every key, or just for some? If the latter, what > keys are those? > > > I assume (I > > don;t even know if this is an actual term, I just heard it somewhere) that > > these are extended keys. > > Extended keys are prefixed with E0h, not with 42.