Ok after hours of testing and googling, this is a good script IMO. It closes the ahk when you exit rpcs3. It also gives your mouse cursor back if you use nomousy after you close, and you can exit. So it was everything I wanted at least. However, I'm having trouble with the keyboards c v and a so I still use mouse to get past calibration.
#SingleInstance Force
run rpcs3.exe Enter Your Path To BLUS30528 HERE\BLUS30528\PS3_GAME\USRDIR\EBOOT.BIN
Run nomousy.bat
q::
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
}
c::
Send {RButton Down}
Send {LButton Down}
Sleep, 60
Send {LButton Up}
Send {RButton Up}
v::
Send {RButton Down}
Send {MButton Down}
Sleep, 60
Send {MButton Up}
Send {RButton Up}
a::
send {RButton}
send {MButton}
ESC::
Send !{f4}
Runwait nomousy.exe
ExitApp