Date: Tue, 15 Feb 2000 07:07:35 +0500 (MVT) From: Prashant TR X-Sender: prashant_tr AT midpec DOT com To: djgpp AT delorie DOT com Subject: Re: SV: Calllback on mouse events In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 14 Feb 2000, Eli Zaretskii wrote: > > On Mon, 14 Feb 2000, Marcus wrote: > > > But maybe you know how to get a callback when a key is pressed? > > You need to install an interrupt handler for the keyboard. > That's interrupt 9 (IRQ1). The scancodes of the key(s) pressed are sent to the handler and can be read from port 60h.