Dolphin, the GameCube and Wii emulator - Forums
change hotkey profile in gameini?? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: change hotkey profile in gameini?? (/Thread-change-hotkey-profile-in-gameini)



change hotkey profile in gameini?? - cura - 02-14-2016

I've got 2 different hotkey profiles saved.

Is there any way to automatically use a specific profile for a specific game? (like you can with gamecube controller and wiimote profiles)


RE: change hotkey profile in gameini?? - Sonicadvance1 - 02-14-2016

No


RE: change hotkey profile in gameini?? - cura - 02-15-2016

(02-14-2016, 10:00 AM)Sonicadvance1 Wrote: No

I've written an autohotkey script to add this functionality if anyone wants it. I use launchbox to run the script before and after a specific game (to change the hotkey profile, then change back to default), but any other program that lets you run a script with your game will work.

You'd have to change lines 1 & 9 to suit your needs. {Down 2} in line 9 works if you want to select the 2nd profile. Change the number depending on which profile you want to use.

Code:
Run "D:\Dolphin-x64\Dolphin.exe"
Sleep, 1000
SendInput !o
Sleep, 100
SendInput h
Sleep, 100
SendInput {TAB 110}
Sleep, 100
SendInput {Down 2}
Sleep, 100
SendInput {TAB}
Sleep, 100
SendInput {Enter}
Sleep, 100
SendInput {TAB 3}
Sleep, 100
SendInput {Enter}
Sleep, 100
SendInput !f
Sleep, 100
SendInput {Down 5}
Sleep, 100
SendInput {Enter}



RE: change hotkey profile in gameini?? - eckso - 02-16-2016

My wrong. You mean global scope Dolphin hotkeys... I guess then yes, AHK is an option to go.