delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/03/22:30:32

Mime-Version: 1.0
To: malcolmj7 AT aol DOT com (MalcolmJ7), djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: Hooking the keyboard interrupt?
Date: Wed, 3 Jun 1998 16:57:44 -0700
Message-ID: <19980603235734.AAD6210@ppp104.cartsys.com>

At 05:27  6/2/1998 GMT, MalcolmJ7 wrote:
>How do i hook the keyboard interrupt in DJGPP,
>so that i can detect keypressed from other programs?  

Hooking of hardware interrupts is described in FAQ section 18.9.

>Is there also a way to hook the keyboard in Allegro?

It has a built in keyboard hooking system, see the "Keyboard" section. If
you want to write your own handler, see the functions `install_keyboard_hooks'.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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