Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Autohotkey/Epsxe/Gamepad


  • Please log in to reply
2 replies to this topic
Narratorway
  • Members
  • 3 posts
  • Last active: Nov 19 2012 04:05 AM
  • Joined: 11 Nov 2012
*WHAT I WANT*
I am playing Final Fantasy IX using the epsxe emulator and want to beat the Hippaul racing minigame. In order to do this, I want turbo functionality using autohotkey and apply it to the Logitech Dual Action gamepad I'm using to play the game.

*WHERE I'M AT*
Per instructions I found in this forum post, I downloaded autohotkey and found the following script:

; Run every line
Critical

; Avoid warning dialogue about over-hits
#MaxHotkeysPerInterval 50000
#HotkeyInterval 1


; epsxe joypad
PS1_TRIANGLE = a
PS1_CIRCLE = f
PS1_X = d
PS1_SQUARE = s


; 'z' is our hotkey
$z::
Loop
{
if not GetKeyState("z", "P")
break

; FF9 - Hippaul race (square + circle)
; - 25 ms is enough time for epsxe to detect

; NOTE: Takes 25 ms down, 25 ms up
;
;SendInput {%PS1_X% down}
;Sleep 25
;SendInput {%PS1_X% up}
;Sleep 25


SendInput {%PS1_SQUARE% down}
Sleep 25

SendInput {%PS1_SQUARE% up}
SendInput {%PS1_CIRCLE% down}
Sleep 25

SendInput {%PS1_CIRCLE% up}


; Hold up-arrow key for 1 sec
;Send {Up down}
;Sleep 1000
;Send {Up up}
;Sleep 25
}
Return

*THE PROBLEM*
It doesn't work. I'm going to take a stab that that's because my game actions are mapped to my gamepad rather than my keyboard.

*THE QUESTION*
How do I get autofire to work with epsxe that uses a gamepad rather than a keyboard?

Narratorway
  • Members
  • 3 posts
  • Last active: Nov 19 2012 04:05 AM
  • Joined: 11 Nov 2012
*bump*

Narratorway
  • Members
  • 3 posts
  • Last active: Nov 19 2012 04:05 AM
  • Joined: 11 Nov 2012
*bump*