Author Topic: Navigate menus with Xbox 360 Controller  (Read 6787 times)

Riffraff

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
    • Email
Navigate menus with Xbox 360 Controller
« on: April 07, 2008, 05:17:06 pm »
WHO THIS IS FOR:
People who have an Xbox 360 controller (wired or wireless) and ONLY an Xbox 360 controller plugged into their machine, and want to navigate the Audiosurf menu with it.
TESTED ON:
Xbox 360 wireless controller, Windows Vista, Standard drivers (NOT XBCD 360)

LINK:
http://rapidshare.com/files/105155836/AHK_joystick.rar.html

DESCRIPTION, INSTALL GUIDE, ETC:
Okay, I have included 2 versions of the same thing here, an Autohotkey script, slightly modified from the example script (http://www.autohotkey.com/docs/scripts/JoystickMouse.htm) provided free of charge by Autohotkey (http://www.autohotkey.com/). I have also included a compiled version of it, the .exe. This was all modified from the example script, and all credit goes to whoever wrote the script.

I personally recommend downloading Autohotkey and using the script within it, but you can use the .exe. I recommend NOT using the .exe as running unsigned applications provided on internet forums is, in general, a stupid idea. However, you have my word (for what little it's worth) that the .exe is malware free. Post comments here, and tell me if it works.

HOW TO USE:
This script makes the right joystick into the equivalent of a mouse, and makes the A button into the left button of a mouse, and B into the right. To run an autohotkey script (.ahk) with Autohotkey installed, simply double click the script. To run the exe, double click it, that's it.

REQUESTS DIRECTED TOWARD A BETTER SCRIPTER THAN I:
If you could make this run ONLY when Audiosurf.exe is running (which I know is possible) that would be awesome, and I would give you full credit for the script modifications (all I did was edit two identifying characters in the example script)

Also, same thing goes if you could "scroll-wheel" to left/right shoulder buttons. If two people each do one of these, I guess I'll split the credit or something, whatever.

DISCLAIMER:
This is posted free of charge, with no claims to it working. If it does not work, feel free to post that it doesn't with the following info:
-Controller (wired or wireless?)
-Drivers (Version, are you using the windows driver?)
-Whether you are using the script or the exe
and I may try to help you (no guarantees).
« Last Edit: April 07, 2008, 05:46:57 pm by Riffraff »

Laserrobotics

  • Robot Overlord
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3464
  • Beep boop everyone.
    • View Profile
    • Steam ID
Re: Navigate menus with Xbox 360 Controller
« Reply #1 on: April 07, 2008, 05:32:10 pm »
i think that your other post is more of an add-on than a request
Note to self:  1/24/12 Awawayabeft

Riffraff

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
    • Email
Re: Navigate menus with Xbox 360 Controller
« Reply #2 on: April 07, 2008, 05:46:18 pm »
i think that your other post is more of an add-on than a request

Yeah, I think I'll move it over to this and delete or just add a link in that other post.

Cody900

  • Hero Member
  • *****
  • Posts: 953
    • View Profile
    • Email
Re: Navigate menus with Xbox 360 Controller
« Reply #3 on: April 09, 2008, 03:48:01 pm »
Hmmm.... would it be possible for me to add this into my mod manager? Give you full credit of course.

Riffraff

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
    • Email
Re: Navigate menus with Xbox 360 Controller
« Reply #4 on: April 10, 2008, 05:03:17 pm »
Hmmm.... would it be possible for me to add this into my mod manager? Give you full credit of course.
Of course, go ahead, but give credit for the actual mod to the AHK team, like I said, I just modified literally two letters in their example script.

Cody900

  • Hero Member
  • *****
  • Posts: 953
    • View Profile
    • Email
Re: Navigate menus with Xbox 360 Controller
« Reply #5 on: April 10, 2008, 05:08:09 pm »
Hmmm.... would it be possible for me to add this into my mod manager? Give you full credit of course.
Of course, go ahead, but give credit for the actual mod to the AHK team, like I said, I just modified literally two letters in their example script.

Well, I'd of never ever heard of it if you didn't post it, and you compiled it into an .exe which makes it possible for me to use it. I'll give you and them credit, then. :P Thanks.

Riffraff

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
    • Email
Re: Navigate menus with Xbox 360 Controller
« Reply #6 on: April 10, 2008, 05:41:03 pm »
Hmmm.... would it be possible for me to add this into my mod manager? Give you full credit of course.
Of course, go ahead, but give credit for the actual mod to the AHK team, like I said, I just modified literally two letters in their example script.

Well, I'd of never ever heard of it if you didn't post it, and you compiled it into an .exe which makes it possible for me to use it. I'll give you and them credit, then. :P Thanks.
That works, heh.