Stuffs a key into the keyboard buffer.
Stuffs a key into the keyboard buffer, just as if the user had pressed
it. The parameter is in the same format returned by readkey(). Example:
simulate_keypress(KEY_SPACE << 8);
if (readkey() == (KEY_SPACE << 8))
allegro_message("You simulated Alt+Space\n");
The following threads each have code containing this keyword:
Note: You can click on the numbers to jump directly to the posts that reference this page.
The following projects include source code containing this keyword: