Devil May Cry 4 Special Edition

Devil May Cry 4 Special Edition

Not enough ratings
DMC4SE Keyboard + Mouse (AutoHotkey v2)
By ProjectXsent
This guide will show you how to play the game using Keyboard and Mouse with the help of AutoHotkey v2.
   
Award
Favorite
Favorited
Unfavorite
Requirements
- AutoHotkey v2[github.com]
Instructions
  1. Install AutoHotkey v2 and AutoHotkey Dash will launch afterwards.
  2. Click New Script > name it something like "DMC4SE KBM"> click Edit and select Notepad or any text editor that you're comfortable with.
  3. Copy and paste this script:
    ; ----------------------------------------------------------------- ; Devil May Cry 4 (DX9) ; ----------------------------------------------------------------- #HotIf WinActive("ahk_exe DevilMayCry4_DX9.exe") LButton::I ;[LMB] Melee/Y RButton::J ;[RMB] Shoot/X MButton::L ;[MMB] Style Action/B Space::K ;[Space] Jump/A XButton1::Q ;[Mouse Button 4] Change Guns/LT XButton2::E ;[Mouse Button 5] Change Devil Arms/RT C::O ;[C] Change Target F::P ;[F] Reset Camera Pause::Suspend ;Suspend Script #HotIf ; ----------------------------------------------------------------- ; Devil May Cry 4 (DX10) ; ----------------------------------------------------------------- #HotIf WinActive("ahk_exe DevilMayCry4_DX10.exe") LButton::I ;[LMB] Melee/Y RButton::J ;[RMB] Shoot/X MButton::L ;[MMB] Style Action/B Space::K ;[Space] Jump/A XButton1::Q ;[Mouse Button 4] Change Guns/LT XButton2::E ;[Mouse Button 5] Change Devil Arms/RT C::O ;[C] Change Target F::P ;[F] Reset Camera Pause::Suspend ;Suspend Script #HotIf ; ----------------------------------------------------------------- ; Devil May Cry 4 Special Edition ; ----------------------------------------------------------------- #HotIf WinActive("ahk_exe DevilMayCry4SpecialEdition.exe") LButton::I ;[LMB] Melee/Y RButton::J ;[RMB] Shoot/X MButton::L ;[MMB] Style Action/B Space::K ;[Space] Jump/A XButton1::Q ;[Mouse Button 4] Change Guns/LT XButton2::E ;[Mouse Button 5] Change Devil Arms/RT C::O ;[C] Change Target F::P ;[F] Reset Camera Pause::Suspend ;Suspend Script #HotIf
  4. Save the script in the Notepad.
    The logic of this script is that if AutoHotkey v2 with the script and DMC4/SE are running in the background, these keybinds will be in effect as well so if you want to suspend the script to use your keyboard normally, press Pause on your Keyboard or right-click AutoHotkey from the hidden icons in the taskbar then Suspend. This is also a good solution if you're worried that the script will affect other programs.
  5. Head to the location of the script (Default location: %SystemDrive%\Users\%Username%\Documents\AutoHotkey) and run the script.
  6. Run the game to test.

You can still use the original keybinds while you're in the game.