How to Customize Mafia 2 Controls Using AutoHotKey

By   /   6 years ago

Let’s consider an age old situation, that you are an old hardcore FPS fan from the days of Wolfenstein and Doom, using ASD and RMB for movement.
You still use the same configuration and are pretty disappointed with Mafia 2, not offering any option to map keys of your choice.
What can be done to have you playing with your native FPS controls ? AutoHotKey has the answer.

You can pretty much map any key for the game using application by following the guide below.

Step 1
Create a text file and name it ‘Mafia 2.ahk’.

Step 2

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#InstallMouseHook
#InstallKeybdHook

#IfWinActive ahk_class Mafia II
RButton::Up

Paste the above code in this text file and save the file.

Step 3
Install AutoHotKey application and double click this script file you just created.

RMB has been mapped to forward in Mafia II.

You can read the AutoHotKey Quick Start Tutorial to work out all the possibilities.

Join the Conversation

Hot Right Now

most anticipated games at E3 2016

Ten Most Anticipated Games of E3 2016, And Why

2015 was definitely much more happening than the years this generation has had before, and...

by   /   1 day ago
Overwatch porn 2

Overwatch Fans Are Seriously Overwatching Overwatch Porn, Blizzard Tak…

If you are a fan of Overwatch you would have definitely heard of the Overwatch porn scene which is...

by   /   1 day ago
Pokemon Sun and Moon Islands

Probable Pokemon Sun and Moon Islands Breakdown, and Seagallops

Lately, we have been looking at hints and leaks to predict what the Pokemon Sun and Moon islands...

by   /   2 days ago
Civilization VI

Civilization VI: How Firaxis Changes Things Dynamically in All the Rig…

We are not saying that Civilization V was something that was lacking; everything needs...

by   /   2 days ago
Xbox One vs PS4 sales

Xbox One vs PS4 Sales: Sony Sells 40M Just a Month After Microsoft Tou…

After a long time of complete silence on the topic of sales figures, Sony Interactive Entertainment...

by   /   3 days ago
Load More