smvorkoetter@watmum.UUCP (10/13/87)
Does anyone know how to fake keystrokes. I know of two programs, FaKey and Key-Fake, that do this from the DOS command line or a batch file, but I need to do it from an interrupt handler. I have just interfaced a mouse to my PC, and I am writing a driver for it. Specifically, I wish to be able to make any application program think that arrow keys are being pressed. I know how to read the direction information from the mouse interface (I built it), but not how to put the fake keystrokes into the buffer. The driver is interrupt driven (moving the mouse causes the driver to be invoked), so the method has to work no matter when it is invoked, or it has to be able to tell when it should wait. Thanks in advance to anyone who can help. S. Vorkoetter Symbolic Computation Group University of Waterloo