Jump to content
LaunchBox Community Forums

AHK binding 2 gamepad buttons for TAB


Guest

Recommended Posts

Hello,

I want to bind 2 gamepad buttons for mapping TAB using AHK.

I want to do this for MAME ( pressing TAB it shows Menu ).

I can do it with just 1 button and works good.

This is the script I use for 1 button

Joy10::
If GetKeyState("Joy10")
{
   SetKeyDelay, -1, 110
   Send {TAB}
}
Return

 

How to do it with 2 buttons?

 

Thanks

 

Link to comment
Share on other sites

6 minutes ago, nohero said:

How?

Here MAME doesn't allow me to bind 2 buttons togheter. It allows me to bind more than a button for a command but not 2 pressed at same time.

Just set the press the two buttons you want to use in quick succession, then two buttons should show.

image.thumb.png.714f3bf60b7bd7c94ac9dcf4a638d3f2.png

 

Link to comment
Share on other sites

No, I already tried that. Will work one button at time and could seems they are working pressed togheter but it's not since they are mapped for same command so they work separately too.

I need 2 buttons pressed at same time because they do different things if pressed separately.

 

That's why I asked for an AHK.

Edited by nohero
Link to comment
Share on other sites

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...