Jump to content
LaunchBox Community Forums
syntax_X

Here's an AutoHotKey script to navigate BigBox with controller buttons (HID)

Recommended Posts

Here is a script I use to navigate Bigbox with controller buttons instead of the x/y axis or POV. 
Edit the controller numbers and buttons to suit. eg: 1JOY12 = 1st controller/joystick and button HID number 12
Edit sleep time to change the rapid fire.
Its not suitable for games as it emulates the way the keyboard driver inputs. 
It only activates when BigBox is the main window so it wont interrupt games
So press key, inputs, then if held after half a second rapid fires.

It should feel exactly like using the arrow keys.

Hopefully sometime soon the BigBox team will add remapping of navigation directions....
 
 
#IfWinActive, LaunchBox Big Box
{
1Joy11::
{
Send {Up}
KeyWait 1Joy11, T0.5                 
    If ErrorLevel                  
        While GetKeyState("1Joy11"){
            Send {Up}
            Sleep 10
       }
}
return
1Joy12::
{
Send {Down}
KeyWait 1Joy12, T0.5                
    If ErrorLevel                  
        While GetKeyState("1Joy12"){
            Send {Down}
            Sleep 10
        }
}
return
1Joy13::
{
 Send {Left}
KeyWait 1Joy13, T0.5                
    If ErrorLevel                  
        While GetKeyState("1Joy13"){
            Send {Left}
            Sleep 10
        }
}
return
1Joy14::

Send {Right}
KeyWait 1Joy14, T0.5                
    If ErrorLevel                  
        While GetKeyState("1Joy14"){
            Send {Right}
            Sleep 10
        }
}
return
}
Edited by syntax_X

Share this post


Link to post
Share on other sites

That's pretty bad ass. You could also upload the ahk file to our downloads section if you want. Thank you for creating this, I know there were a few people asking for this.

Share this post


Link to post
Share on other sites

Thanks for the praise dude. Its just a modified version of a poorly made hold down script I found in the AHK archives.

The thing is though I thought you would be one of the last people to thank me for uploading this.

Forgive me if i'm wrong, maybe things have changed since I joined, but doesn't Launchbox/BigBox lock out free version users from using controllers to navigate?

Although untested this script could probably easily bypass that. Add a remap to Enter and Esc and your done.

If that is the case id much rather have this post deleted and the option to add HID input as navigation in BigBox.

If its not the case ill upload it pronto. :)

Share this post


Link to post
Share on other sites

No, Premium just locks you out of Big Box. In LaunchBox you can use a controller, but it's obviously not really made for it. I like the script because someone was requesting this because their arcade stick, or their controller. I know that some controllers, especially ones that have no thumb stick and badly IDed d-pads can benefit from this.

  • Like 1

Share this post


Link to post
Share on other sites

I'm not sure what to call it. Big Box Button Navigation? Also, I should specify Premium doesn't lock you out of controller support in LaunchBox. It does have quite a few features in it for LaunchBox, but Controller support isn't one of them. So, Premium doesn't JUST have Big Box behind it. I wanted to clarify just in case.

Share this post


Link to post
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
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...