Keeping a button pressed on a gamecube controller in Dolphin emulator?
Keeping a button pressed on a gamecube controller in Dolphin emulator?
I'm using dolphin emulator and I want to make it so that when I press a button (any key on the keyboard, or even on the gamecube controller is fine) it will emulate the A button being held down on the gamecube. That way, I don't have to actually hold down the physical A button forever like on racing games. Thank you for your help.
Re: Keeping a button pressed on a gamecube controller in Dolphin emulator?
Hallo,
I don't know this emulator or this cube, but this also presses the A key in addition to any key:
I don't know this emulator or this cube, but this also presses the A key in addition to any key:
Code: Select all
For all, LF in [[0x1FF,"sc{:X}"],[0xFF,"vk{:X}"]]
Loop,% LF.1
IF (""<Key:=GetKeyName(Format(LF.2, A_Index))) And !InStr(Key,"Wheel")
{
Hotkey, ~*%Key%, a_Down
Hotkey, ~*%Key% Up, a_Up
}
Return
a_Down:
a_Up:
SendInput,% "{Blind}{" StrReplace(A_ThisLabel,"_", A_Space) "}"
Return