Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   General compatibility fixes (http://www.abandonia.com/vbullet/forumdisplay.php?f=95)
-   -   need Dosbox keyboard autofire (http://www.abandonia.com/vbullet/showthread.php?t=28866)

Wicky 08-08-2012 08:02 AM

need Dosbox keyboard autofire
 
When the -space- key has to be pressed repeatedly as fast as possible, does Doxbox come with a feature which can do this, like some autofire?

Xenon 2 megablast requires me to hammer on a certain key like 10x per second, and I wondered if there was a trick. I looked at the joystick options and it has an autofire there, but I couldnt trick it to accept the -shift- key as a joystick button, rebind the joystick again to -space- to somehow make it autofire as long as the -shift- key is pressed.

If you are confused by this posting, please ignore it :)

Tracker 08-08-2012 02:50 PM

I get what you mean Wicky, but never had to use it, not that I play in DOSBox anymore. I'm sure you'll find someone who'll help you. Just keeping your thread alive.

The Fifth Horseman 08-08-2012 05:45 PM

There's no such feature to my knowledge.
But you can do it the other way round: Get an USB joystick or gamepad with autofire and map its' buttons to the keyboard controls.

zirkoni 08-08-2012 06:49 PM

You could use another software to do the trick.

On Windows I'd use Autohotkey with a script something like this:
Code:

$Space::
 While GetKeyState("Space","p"){
  Send {Space}
  Sleep 10
 }
return

I think IronAHK can be run on Linux and Mac and it can use the same scripts as Autohotkey.

Wicky 10-08-2012 09:38 AM

@Zirkoni
Thanks a lot. Wow, this is freaking fantastic. The cannon in Xenon2 goes off like a machinegun with this script.

http://www7.pic-upload.de/thumb/10.08.12/o5sv1pd37u.jpg

Thank you very much dude, just what I've been looking for :perv:

Japo 10-08-2012 06:23 PM

Link to AutoHotkey: http://www.autohotkey.com/
http://download.cnet.com/AutoHotkey-...-10279446.html

Thread moved and pinned.


The current time is 06:40 PM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.