08-29-2015, 08:35 PM
(This post was last modified: 08-29-2015, 10:11 PM by messiahgov.)
Here's how I assign the "TAB" Fast Forward Key to R3 (because it's unused by most of the games), but it's easy to change that.
Because PCSX2 doesn't have any option to assign it to a controller button, I use AutoHotKey and the following script:
Just paste this behind any other code you may have in your main AutoHotKey config. I have added many other games over the time.
It will only get activated "GSdx ahk_class wxWindowNR" is active (this is PCSX2). I use a Logitech Rumble Gamepad F510 (hybrid, Direct- and XInput via a switch). So it can be, that "Joy10" (R3) is something else for you. Check your gamepad this with this script: http://ahkscript.org/docs/scripts/JoystickTest.htm
With it you can easily find out any button number for your gamepad. And use the build-in "Window Spy" script to find out the name for "#IfWinActive ..."
AutoHotKey is very nice, equal which EXE you might run. You want to use a gamepad for Word? No problem, it works for just anything. Or map a keyboard to a gamepad, or a gampad to a mouse or anything else. It's getting complicated if you want some weird things, but there are many helpful examples on the site of AHK.
Anyway, this is my way to implement a workaround for Fast Forward. I press is once to activate and again to deactivate.
#IfWinActive GSdx ahk_class wxWindowNR //window of the app, find with build-in window spy
Joy10:: //button on your primary device, the one you really using
Send, {Tab down} //which button to emulate, here in "pressing down Tab" action
KeyWait Joy10 //wait till you release the Joy10 button
Send, {Tab up} //emulate releasing the keyboard button
return //enables unlimited usage
AutoHotKey can do much more in ways of automation etc., but I only use it for small things like rebinding a button to a gamepad or combine two to one.
Because PCSX2 doesn't have any option to assign it to a controller button, I use AutoHotKey and the following script:
Code:
#IfWinActive GSdx ahk_class wxWindowNR
Joy10::
Send, {Tab down}
KeyWait Joy10
Send, {Tab up}
return
Just paste this behind any other code you may have in your main AutoHotKey config. I have added many other games over the time.
It will only get activated "GSdx ahk_class wxWindowNR" is active (this is PCSX2). I use a Logitech Rumble Gamepad F510 (hybrid, Direct- and XInput via a switch). So it can be, that "Joy10" (R3) is something else for you. Check your gamepad this with this script: http://ahkscript.org/docs/scripts/JoystickTest.htm
With it you can easily find out any button number for your gamepad. And use the build-in "Window Spy" script to find out the name for "#IfWinActive ..."
AutoHotKey is very nice, equal which EXE you might run. You want to use a gamepad for Word? No problem, it works for just anything. Or map a keyboard to a gamepad, or a gampad to a mouse or anything else. It's getting complicated if you want some weird things, but there are many helpful examples on the site of AHK.
Anyway, this is my way to implement a workaround for Fast Forward. I press is once to activate and again to deactivate.
#IfWinActive GSdx ahk_class wxWindowNR //window of the app, find with build-in window spy
Joy10:: //button on your primary device, the one you really using
Send, {Tab down} //which button to emulate, here in "pressing down Tab" action
KeyWait Joy10 //wait till you release the Joy10 button
Send, {Tab up} //emulate releasing the keyboard button
return //enables unlimited usage
AutoHotKey can do much more in ways of automation etc., but I only use it for small things like rebinding a button to a gamepad or combine two to one.
My Specs @ PCSX2 1.3.1-20150827 (Git):
Mainboard: Asus Crosshair IV Formula | CPU+Cooler: AMD Phenom II X6 1090T BE @ 3,72 Ghz (Auto-OCed by ROG) + Prolimatech Megahalems Rev.B (+ 2x Enermax Everest)
LED Monitor: Overlord Tempest X270OC | GFX: Palit Geforce GTX 670 JetStream | Ram: @ CL9 DDR3-1333: GSkill Flare 2x2GB + 2x4GB Corsair Vengeance
Mainboard: Asus Crosshair IV Formula | CPU+Cooler: AMD Phenom II X6 1090T BE @ 3,72 Ghz (Auto-OCed by ROG) + Prolimatech Megahalems Rev.B (+ 2x Enermax Everest)
LED Monitor: Overlord Tempest X270OC | GFX: Palit Geforce GTX 670 JetStream | Ram: @ CL9 DDR3-1333: GSkill Flare 2x2GB + 2x4GB Corsair Vengeance