Here's what works for me. I do not like pushing buttons on keyboard so I have Circle and Triangle button mapped to my gun4ir which use buttons 1 and 5 (Usually for coin and start)
I also don't see the reason for not maximizing screen automatically or getting mouse position automatically. It doesn't effect calibration so there's no reason to set a button to these. This is the same for gun4ir and sinden that I tested.
Place ahk script in same location as rpcs3.exe
If using Launchbox/Bigbox- add the game manually and point to the ahk script under Launching. Do not set the emulator under Emulation!
I'm still confused on why triangle requires a right and middle button press. Is this hardcoded in rpcs3? Seems odd that you can't change that.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance Force
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance force
Run, rpcs3.exe --no-gui "dev_hdd0\disc\Time Crisis Razing Storm BLUS30528\PS3_GAME\USRDIR\razingstorm.self"
sleep, 7000
MouseGetPos, , , win
maxWindow("ahk_id" win)
return
maxWindow(title)
{
WinMove, % title, , 0, 0, % A_ScreenWidth, % A_ScreenHeight
WinActivate, % title
WinSet, Style, -0xC00000, % title
WinSet, Style, -0x40000, % title
WinSet, AlwaysOnTop, Off, % title
}
;Circle Button
$1::
Send {XButton1 down}
sleep, 60
Send {XButton1 up}
Return
;Triangle Button
$5::
Send {RButton down}
Sleep, 60
Send {MButton down}
Sleep, 60
Send {MButton up}
Send {RButton up}
Return
$Escape::
Send !{f4}
Process,Close,rpcs3.exe
Run,taskkill /im "rpcs3.exe" /F
ExitApp
return