Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!cs.utexas.edu!uwm.edu!rutgers!mcnc!wolves!deepthot!Jay From: Jay@deepthot.cary.nc.us (Jay Denebeim) Newsgroups: comp.sys.amiga.programmer Subject: Re: keypress scanning Message-ID: Date: 23 Feb 91 15:57:45 GMT References: <787@cbmger.UUCP> <1991Feb2.000213.11161@athena.mit.edu> <1991Feb9.114958.7734@vax1.tcd.ie> Organization: The Software Distillery Lines: 35 In article <1991Feb9.114958.7734@vax1.tcd.ie> smcgerty@vax1.tcd.ie writes: >I havn't a clue about the Fish disks, but if you want to detect what keys are >being pressed at any instant, then there is a cheap and dirty way of doing it >using the hardware; someone else can work out a way of outputting them to a >file... (preferably not using the following...) Would somebody shoot this guy please. There is a simple way of capturing ALL input events, modifying them and basically doing whatever you want with them. In 2.0 there is even a library (comodities) that allows programs to bind into the input chain coopertavely. For previous versions of DOS a good example of this technique is in our PopCLI program. It has always come with source, and is available on our BBS, the fish disks, or by sending mail to filerequest@deepthot.cary.nc.us requesting FILE: popcli4.arc. DON'T GO TO THE HARDWARE. Its not nice. > >---------------------------------------------------------------------------- >| / T | / Stephen John McGerty | "I could be wrong" Amiga // | >| / | |/ smcgerty@vax1.tcd.ie (C.Sci.) | Me. \\// | >|__________________________________________|_______________________________| -- |_o_o|\\ |. o.| || The Jay Denebeim | . | || Software | o | || Distillery | |// Address: UUCP: mcnc.org!deepthot.uucp!jay ====== Internet: jay@deepthot.cary.nc.us BBS:(919)-460-7430 VOICE:(919)-460-6934