Sender: Mridul DOT Muralidharan AT Sun DOT COM Message-ID: <3B95AF46.410A878B@india.sun.com> Date: Wed, 05 Sep 2001 04:51:18 +0000 From: Mridul Muralidharan Organization: Sun Microsystems X-Mailer: Mozilla 4.76C-CCK-MCD Netscape [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: about keyboard event References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Qi Xu wrote: > > hi, > i write a program in djgpp, and want to get keypress and keyrelease > event. i know this can be done by writing my own keyboard handler, > but i am not very familiar with low level keyboard programming, and such > things like keyboard LED process will bring me a lot of headaches. is > there any way that i just get the key status and let bios do the other stuff? > > thanks! > > Regards, > krist Check out section 22.4 of the faq . There are also libraries that handle this sort of stuff like libkb which is at - http://wildsau.idv.uni-linz.ac.at/mfx/libkb.html hope this helped. Regards Mridul -- Mridul Muralidharan, Member of Technical Staff, Portal Server, iPlanet India email Id : mridul DOT muralidharan AT india DOT sun DOT com Ph : 2298989 extn 87511 iPlanet Website : www.iplanet.com