Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

My P1B2 is mapped to the keyboard "V" with an Ultimarc and works fine natively in MAME and tested in other programs as functioning.  If I run any MAME game within launchbox this key ceases to function.  Any ideas?

Edited by sdmf392
Posted

That's an odd mapping for that button (vs. the default binding Left-Alt)

In LaunchBox, edit you MAME emulator.  Look at the Default Command-line Parameters.  If it has -keyboardprovider dinput in it, try remove that.  If it doesn't, try adding it.

Posted (edited)

I've done a bit more troubleshooting and it appears that what I have wired should indeed be left alt since it's port 1SW2 on the ultimarc IPAC4, but when I press the corresponding arcade pushbutton it encodes a "V" to the PC.  I ran across a thread that said older boards might not be compatible with win11, but all the other functions are working and it is sending valid key presses to the pc so I see no issue there.  I've tried putting it to another port on the IPAC at 3SW4 which made the keypress "o", but the same problem happens where native MAME works fine, but launchbox will not send the command.  The -keyboardprovider dinput was indeed in my command line parameters so I tried to remove it but that didn't work at all.  What's interesting is if I push left alt on my keyboard it will do the correct function in launchbox mame, but I have removed that input assignment through the native MAME's settings.

Does this mean launchbox can only use default MAME controls perhaps?

Edited by sdmf392
Posted
37 minutes ago, sdmf392 said:

Does this mean launchbox can only use default MAME controls perhaps?

LaunchBox does not dictate the controls used inside the emulator.  That's between you and your emulator.  But it does pass command-line parameters. Which is why I thought 'maybe' that could be causing the issue.

 

Test:  In LaunchBox, right-click a game and select Open MAME.  From within [standalone] MAME that opens up, load "the game" and check if P1B2 is working as it should.

If it's not working, [in LaunchBox] edit your MAME emulator and make absolutely sure that the mame.exe you're pointing to is the exact same one you were testing on, outside of LaunchBox.  This is actually an [unfortunate] common occurrence. But an easy fix.

If in that Test it is working, I'm not sure what to tell you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...