It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Anyone know if there is a way to have the mouse buttons automatically repeat their presses in DOSBox?

Reason being, I've been playing Magic Carpet and having to continuously press the mouse buttons to repeatedly fire is quite a pain (almost literally).

The autofire option in the .conf seems to be just for joysticks. :(

So, anyone know of any DOS programs (old terminate and stay resident programs maybe) that can be run in DOSBox before the game is launched that read the mouse clicks and if the button is held down it repeats the button press?

Or in fact any way of doing this at all? Preferably from within DOSBox.
No posts in this topic were marked as the solution yet. If you can help, add your reply
Nevermind. I solved it by using AutoHotKey to create an executable. For reference, the script I used is as follows:

~$LButton::
While GetKeyState("LButton", "P"){
Click
Sleep 250 ; milliseconds
}
return

~$RButton::
While GetKeyState("RButton", "P"){
Click right
Sleep 250 ; milliseconds
}
return

This repeats the mouse left and right buttons four times per second, if they are held down.

This will do for Magic Carpet, anyway, until I get the Rapid Fire Fireball anyway. :)