Re: A86: keypresses


[Prev][Next][Index][Thread]

Re: A86: keypresses




In a message dated Tue, 1 Feb 2000  9:13:56 AM Eastern Standard Time, Rgdtad@aol.com writes:

> 
> How do I simulate keypresses?

If you only want to simulate one key (upon exiting a program for example), do this:
 ld a,kEnter
 jp _jforcekey

If you want to simulate a lot of them in a row, you have to set up a sqrtKEY program and return predefined values, which is a bit more complicated.