Post tutorial Report content RSS feed Custom Gamepad Control Mapping

A short and simple guide to setting your own control mappings for the gamepad

Posted by on - Basic Client Side Coding

T he base game of FUEL lacks any real way of changing the default control mappings for gamepad, but here is a short guide to manually customizing gamepad controls.

Instructions:

First thing you need to do is navigate to this file:

~\fuel\Input\input.PC

Opening said file will present you with an array of settings as shown in the text below:

InputDefAdd LEFT_ACTION LANALOG_LEFT LEFT
InputDefAdd RIGHT_ACTION LANALOG_RIGHT RIGHT
InputDefAdd UP_ACTION LANALOG_UP NULL
InputDefAdd DOWN_ACTION LANALOG_DOWN NULL
InputDefAdd CAMERA_LEFT_ACTION RANALOG_LEFT NULL
InputDefAdd CAMERA_RIGHT_ACTION RANALOG_RIGHT NULL
InputDefAdd CAMERA_UP_ACTION RANALOG_UP NULL
InputDefAdd CAMERA_DOWN_ACTION RANALOG_DOWN NULL
InputDefAdd CAMERA_RESET RSTICK NULL
InputDefAdd PAUSE_MODE START NULL
InputDefAdd INFOS BACK NULL
InputDefAdd CONTEXT B NULL
InputDefAdd ACCEL LT NULL 
InputDefAdd BRAKE RT NULL
InputDefAdd HANDBRAKE X NULL
InputDefAdd RESPAWN Y NULL
InputDefAdd BOOST A NULL
InputDefAdd PAD_DOWN DOWN NULL
InputDefAdd PAD_LEFT LEFT NULL
InputDefAdd PAD_UP UP NULL
InputDefAdd PAD_RIGHT RIGHT NULL
InputDefAdd L_FRONT LB NULL
InputDefAdd R_FRONT RB NULL
InputDefAdd L_BACK LT NULL
InputDefAdd R_BACK RT NULL
InputDefAdd MENU_UP LANALOG_UP NULL
InputDefAdd MENU_DOWN LANALOG_DOWN NULL
InputDefAdd MENU_RIGHT LANALOG_RIGHT NULL
InputDefAdd MENU_LEFT LANALOG_LEFT NULL
InputDefAdd MENU_VALID A NULL
InputDefAdd MENU_CANCEL Y NULL
InputDefAdd MENU_BACK B NULL
InputDefAdd MENU_VALI2 X NULL
InputDefAdd MENU_L1 LB NULL
InputDefAdd MENU_R1 RB NULL
InputDefAdd MENU_L2 LT NULL
InputDefAdd MENU_R2 RT NULL
InputDefAdd MENU_START START NULL
InputDefAdd MENU_SELECT BACK NULL
InputDefAdd MENU_R3 RSTICK NULL
InputDefAdd MENU_L3 LSTICK NULL
InputDefAdd MENU_RESET X NULL

Each line begins has the command (e.g. LEFT_ACTION) and then the gamepad mapping next to it. So if you wanted to invert the left and right gamepad controls for example, you would change the following:

InputDefAdd LEFT_ACTION LANALOG_LEFT LEFT
InputDefAdd RIGHT_ACTION LANALOG_RIGHT RIGHT

to

InputDefAdd LEFT_ACTION LANALOG_RIGHT RIGHT
InputDefAdd RIGHT_ACTION LANALOG_LEFT LEFT 

... and the value would be changed. However be sure to check all values, because there are different mappings for the camera and general menu movement.

Hope this helps. Feel free to ask any questions in the comments or the forum and I'll do my best to answer them. If you have a revised control mapping that you feel would benefit other users then share it on the forums.

Post comment Comments
TheDaFox
TheDaFox

Awesome, thank you.

Reply Good karma Bad karma+1 vote
REWgamer
REWgamer

HELP!!! (again) Thanks in advance.
CODEMASTERS = NO Help at all for gamepad.
OS = Windows 7 - Gamepad = Logitech F310
Modified INPUT.PC as follows and gamepad still not working.
NOTE: Using gamepad in Need for Speed games, works fine.
Removed all the NULL and replaced with actual pad function.

InputDefAdd LEFT_ACTION LANALOG_LEFT LEFT
InputDefAdd RIGHT_ACTION LANALOG_RIGHT RIGHT
InputDefAdd UP_ACTION LANALOG_UP UP
InputDefAdd DOWN_ACTION LANALOG_DOWN DOWN
InputDefAdd CAMERA_LEFT_ACTION RANALOG_LEFT LEFT
InputDefAdd CAMERA_RIGHT_ACTION RANALOG_RIGHT RIGHT
InputDefAdd CAMERA_UP_ACTION RANALOG_UP UP
InputDefAdd CAMERA_DOWN_ACTION RANALOG_DOWN DOWN
InputDefAdd CAMERA_RESET RSTICK RSTICK
InputDefAdd PAUSE_MODE START START
InputDefAdd INFOS BACK BACK
InputDefAdd CONTEXT B B
InputDefAdd ACCEL RT RT
InputDefAdd BRAKE LT LT
InputDefAdd HANDBRAKE X X
InputDefAdd RESPAWN Y y
InputDefAdd BOOST A A
InputDefAdd PAD_DOWN DOWN DOWN
InputDefAdd PAD_LEFT LEFT LEFT
InputDefAdd PAD_UP UP UP
InputDefAdd PAD_RIGHT RIGHT RIGHT
InputDefAdd L_FRONT LB LB
InputDefAdd R_FRONT RB RB
InputDefAdd L_BACK LT LT
InputDefAdd R_BACK RT RT
InputDefAdd MENU_UP LANALOG_UP UP
InputDefAdd MENU_DOWN LANALOG_DOWN DOWN
InputDefAdd MENU_RIGHT LANALOG_RIGHT RIGHT
InputDefAdd MENU_LEFT LANALOG_LEFT LEFT
InputDefAdd MENU_VALID A A
InputDefAdd MENU_CANCEL Y Y
InputDefAdd MENU_BACK B B
InputDefAdd MENU_VALI2 X X
InputDefAdd MENU_L1 LB LB
InputDefAdd MENU_R1 RB RB
InputDefAdd MENU_L2 LT LT
InputDefAdd MENU_R2 RT RT
InputDefAdd MENU_START START START
InputDefAdd MENU_SELECT BACK BACK
InputDefAdd MENU_R3 RSTICK RSTICK
InputDefAdd MENU_L3 LSTICK LSTICK
InputDefAdd MENU_RESET X X
// remap

Reply Good karma Bad karma+1 vote
Vetron Author
Vetron

Well thats Codemasters for you xD

Have a look at this page: Logitech-en-amr.custhelp.com

For FUEL (and other poorly supported GFWL games) you need the controller in XInput mode to work. Make sure your controller is set to that and write back if your still having trouble.

(If I take a while to reply then by all means PM me)

- Vetron

Reply Good karma+1 vote
REWgamer
REWgamer

OK, Thanks again.

After re-reading the instuctions for the gamepad I got this:

X = Windows default button configuration

D = For use with Gamepad Profile Manager - does NOT works with ALL games, you need to test which works best for your needs.

Use switch D if button configuration "needs" to be modified or you want to re-define individual buttons for different functions. Mostly for ON-Line games such as Need For Speed World or America's Army.

The editing done above enables ALL the gamepad buttons in FUEL.

Feel free to copy and paste. Least I could do to try and help.

I was using the Profile Manager "D", worked for my other games.

Thanks again and Happy Gameing

Reply Good karma Bad karma+1 vote
Post a comment

You are not logged in, your comment will be anonymous unless you join the community. Or sign in with your social account:

Tutorial
Browse
Tutorials
Share
Related Mods
Related Games
FUEL
FUEL Racing