delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/05/18:20:22

Date: Thu, 5 May 94 17:41:40 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: gambcl AT essex DOT ac DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: How do you detect CTRL-CURSOR KEY???

> 	I am trying to detect when the user presses CTRL and a cursor key.
> 	I can detect a cursor key on its own but I don't know how to detect 
> the combination of CTRL and a cursor key.

When the key comes, in, use dosmemget to look at the BIOS key flags,
which tell you the state of all the shift/ctrl/alt/etc keys.


- Raw text -


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