Question: OpenMSX - Autofire

Door Jeroen Kwakkel

Supporter (1)

afbeelding van Jeroen Kwakkel

16-02-2017, 21:02

Is it posible to bind a joystick button with 'repeating' a button press?
I have used joy2key for auto repeating keys strokes, but openmsx won't handle that well.

please help!

Aangemeld of registreer om reacties te plaatsen

Van luppie

Paladin (863)

afbeelding van luppie

16-02-2017, 21:31

Check the OpenMSX Manual :

Look for the -repeat command

Van diederick76

Expert (114)

afbeelding van diederick76

16-02-2018, 16:35

I realize this thread is already a year old, but it is the first hit at DuckDuckGo.

Anyway. The openMSX manual isn't clear on how to use -repeat to autofire a joystick button. I understand I have to use bind with an event and a command. So, something like

bind "joy1 button1 down" type "hello"

will output hello to my screen. But what would be the command to fire button 1 on joystick 1? I tried typing a space, but that results in "warning: Error executing hot key command: Syntax error" Question

Van Manuel

Ascended (18162)

afbeelding van Manuel

16-02-2018, 23:54

Do you want to control the joystick fire button or do you want to let it press the space bar?
For the latter, use the keymatrixdown/up command.

For the former, I'm not sure. Is this possible, Wouter?