Hello,
I apologize if this has been asked before. I did a google search and a forum search and could not find anything close to an answer.
I am attempting to setup a macro for my Xbox360 Windows Gamepad:
<!-- m -->http://www.microsoft... ... or-windows<!-- m -->
I need the macro to hold down the "back" button on the controller for about 250ms every 10 seconds. Preferably I could enable/disable the macro using a keyboard or controller combination. Can Autohotkey pull this off? If so, what's the exact coding I'd need?
Thanks.

Create a macro for an XBOX Controller for PC
Started by
MarkC9
, May 04 2012 11:34 PM
3 replies to this topic
#1
-
Posted 04 May 2012 - 11:34 PM

XBOX 360 Controller For Windows Joystick buttons:
AHK == Xbox Controler """"""""""""""""""""""" Joy1 == Green/Button A Joy2 == Red/Button B Joy3 == Blue/Button X Joy4 == Yellow/Button Y Joy5 == Button LB Joy6 == Button RB Joy7 == Button Back Joy8 == Button Start Joy9 == Button Left thumb stick Joy10 == Button Right thumb stickToggle F12 to start and stop.
F12:: if !flag_backbutton { Global flag_backbutton := 1 goto, PressBackButton } else { SetTimer, PressBackButton, off flag_backbutton := "" return } PressBackButton: SetTimer, PressBackButton, 10000 Send {Joy7 down} sleep, 250 Send {Joy7 up} return
#2
-
Posted 06 May 2012 - 09:43 PM

This doesn't work, and as far as I can tell, AutoHotKey can't send Joystick input. I've been searching for the past couple hours for a way to do the same sort of thing described by the OP, with no luck. In my case, I want to have a key on the keyboard that will toggle holding down one of the xbox triggers when I don't have the controller in my hand, and am using keyboard/mouse.
Anyone have any idea on how to do this? I've found tons of ways to send keystrokes/mouse using a controller, but nothing that works the other way around.
Anyone have any idea on how to do this? I've found tons of ways to send keystrokes/mouse using a controller, but nothing that works the other way around.
#3
-
Posted 29 August 2012 - 05:14 AM

now with that script you said didnt work.. are you in the game in a FullScreen mode???
have you tried the script in a different program to see if that "back" button is being sent?
have you tried the script in a different program to see if that "back" button is being sent?
#4
-
Posted 29 August 2012 - 07:14 PM

----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------
Wingfool you fat! I mean, Wingfat you fool!
Line from Woody Allen's movie "What's Up Tiger Lilly?"
-----------------------------