Article View: comp.os.msdos.programmer
Article #2160Re: faking keypresses
From: Jeff Anderson
Date: Tue, 11 Sep 1990 18:25
Date: Tue, 11 Sep 1990 18:25
19 lines
1208 bytes
1208 bytes
You can add keys to the keyboard buffer by using Interrupt 16h, function 5h The function is called with AH = 05h CH = the scan code CL = the character If AL returns a 1 then the keyboard buffer is full. This function works only on IBM AT and compatibles and PS2s with enhhanced keyboards. For more information, see Page 499 of the DOS Programmer's Reference (2nt Edition) by Terry Dettmann ------------------------------------------------------------------------------ Jeff Anderson killer!osu-cis!sppy00!jaa Online Computer Library Center (OCLC) unreliable: jaa@sppy00 614-764-6222 ------------------------------------------------------------------------------
Technical Details
Message-ID:
<927@sppy00.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!sppy00!jaaReferences:
<531@roo.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!sppy00!jaa From: jaa@sppy00.UUCP (Jeff Anderson) Newsgroups: comp.os.msdos.programmer Subject: Re: faking keypresses Keywords: keypress interrupts resident device input Message-ID: <927@sppy00.UUCP> Date: 11 Sep 90 18:25:27 GMT References: <531@roo.UUCP> Reply-To: jaa@sppy00.UUCP (Jeff Anderson) Organization: Online Computer Library Center, Dublin, Ohio. Lines: 19