Used to do this up to F1 2013 (Maybe 2014 too), it was my 'Look to Apex' function
All I had to find is how much I wanted to my head to turn (which wasn't much), by tweaking the saturation number in the lines detailed below.
I have not tested this in F1 2016, I used it in the games where each controller had it's own actionmap.xml file, but now all controllers are combined into one file. It should still work though.
In a good text editor like
Notepad++
- Open the action_map_preset_win.xml file in the F1 2016/actionmaps folder
- Search the file for your controller, in my case I searched for G27, this took me to the 1st line of the G27 section
- You are looking for the 4 sub-sections below that for the steer left axis, steer right axis, look left and look right
- You edit the look left and look right mapping entries, pasting in the axis values for steer left, and steer right
- You change the saturation value to suit the amount of look left/right you want you head to turn
So this is the G27's steering mapping :-
Code:
<Action actionName="Steer Left">
<Axis axisName="di_x_axis" type="biDirectionalLower" deadZone="0.0" saturation="1.0" />
</Action>
<Action actionName="Steer Right">
<Axis axisName="di_x_axis" type="biDirectionalUpper" deadZone="0.0" saturation="1.0" />
</Action>
This is the Look Left and Look Right mapping :-
Code:
<Action actionName="Look Right">
<Axis axisName="di_button_21" type="uniDirectionalPositive" deadZone="0.0" saturation="1.0" />
</Action>
<Action actionName="Look Left">
<Axis axisName="di_button_22" type="uniDirectionalPositive" deadZone="0.0" saturation="1.0" />
You copy the 2 steering axis mappings :-
di_x_axis" type="biDirectionalLower
di_x_axis" type="biDirectionalUpper
Pasting them in and
replacing the current values for Look Left and Look Right.
So the new section for the Look Left and Look Right would look like this :-
Code:
<Action actionName="Look Right">
<Axis axisName="di_x_axis" type="biDirectionalUpper" deadZone="0.0" saturation="1.0" />
</Action>
<Action actionName="Look Left">
<Axis axisName="di_x_axis" type="biDirectionalLower" deadZone="0.0" saturation="1.0" />
You must now change the the saturation values and test it. At their default you will swing your head very quickly all the way left or right, and no doubt crash the car
Whether to edit them to a higher value or lower value I am not sure, it used to be to a lower value ages ago. So saturation may be changed from
saturation="1.0" to
saturation="0.2" for example.
EDIT: Actually for saturation - see
@Daveo 's post below -
Follow This LInk
Finally you
may have to disconnect your wheel and start the game via the keyboard (enter key). Then close the game, connect the wheel, reboot the game, and use the wheel buttons to go through the boot screens.
Certainly up to F1 2013, the controller's actionmap.xml file was only read once, and the mappings stored in your game save profile file. So if you edited the file, the mappings didn't happen because the game never read that file again.
By starting the game with keyboard (no wheel connected), the keyboard became the default controller. So the next time you started the game with the wheel connected, the game saw the new controller, and read that actionmap.xml file to get the mappings and set the wheel as the default.