home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!gatech!ncar!vexcel!copper!mercury.cair.du.edu!mnemosyne.cs.du.edu!nyx!ggruscho
- From: ggruscho@nyx.cs.du.edu (George Gruschow)
- Newsgroups: comp.lang.c
- Subject: Re: Telling if the SHIFT key is down.
- Message-ID: <1993Jan26.223832.445@mnemosyne.cs.du.edu>
- Date: 26 Jan 93 22:38:32 GMT
- References: <00966E8E.9CED30C0@Msu.oscs.montana.edu>
- Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
- Organization: University of Denver, Dept. of Math & Comp. Sci.
- Lines: 16
-
- ooprb@Msu.oscs.montana.edu writes:
-
- >TRIED:
- >I've tried kbhit() and bioskey(0/1) with no success.
-
- >Rocky B. - ooprb@trex.oscs.montana.edu
-
- Try using some inline assembly! Check out any Interupt list (I'd suggest the
- "Ultimate DOS programmer's Manual") for the shift key bios routine, call it,
- and place the returned value in the address specified at the top of the stack
- (assuming your passing a variable to set)...
- --
- -------------------------------------------------------------------------------
- George Gruschow Death do you gronk.
- ag625@yfn.ysu.edu ggruscho@nyx.cs.du.edu
- -------------------------------------------------------------------------------
-