How to adjust the controller configuration
Mar 1, 2014 9:51:53 GMT 10
Tommy S Kennedy and xuru like this
Post by DarkSamus on Mar 1, 2014 9:51:53 GMT 10
Many thanks to BaaBaaBlackSheep on the Steam forums for getting me started with the basics for this...
Editing input.ini.
Okay, here's my rough guide to button configuration. This is only for the Xbox 360 controller inputs, because that's all I have access to.
First let me cover the inputs on the controller and the buttons the input.ini thinks those match up to. It doesn't follow the DirectInput HID mapping, in case you are wondering.
Button mappings in input.ini
XBOX | RE4
RT = B5
LB = B6
RB = B7
LT = B8
A = B9
B = B10
X = B11
Y = B12
START = B13
BACK = B14
B1 - B4 are mapped to direction inputs on the D-PAD
B17-B20 are the left analog stick.
KEY_EV_CANCEL = QKEY_GC_B14
KEY_CANCEL = QKEY_GC_B10
KEY_OK = QKEY_GC_B9
KEY_OK = QKEY_GC_B11
The duplicate entries for KEY_OK are where the "X" and the "A" buttons were both the same.
I also have not found any way to switch the should QTE's to L1/R1
Okay, now that that's out of the way let's break down what each input seemingly is. This is the default button inputs.
NOTE: If you change a button input, like B9 to B11, change EVERY other B9 you see to B11, unless you have a specific reason not to. Keeping the buttons consistent is important.
What the input options mean
###XINPUT_CONTROLLER_A
Walking/Aiming
KEY_FORWARD = QKEY_GC_B4
KEY_FORWARD = QKEY_GC_B20
KEY_BACK = QKEY_GC_B3
KEY_BACK = QKEY_GC_B19
KEY_RIGHT = QKEY_GC_B2
KEY_RIGHT = QKEY_GC_B18
KEY_LEFT = QKEY_GC_B1
KEY_LEFT = QKEY_GC_B17
Aim gun (RT/R2 QTE is not altered when you change this)
KEY_KAMAE = QKEY_GC_B5
Not sure what this changes (If you figure this one out, let me know)
KEY_RELOCKON = QKEY_GC_B7
Run
KEY_RUN = QKEY_GC_B9
Shoot
KEY_FIRE = QKEY_GC_B11
Command Ashley
KEY_ASHLEY = QKEY_GC_B6
Action Button
KEY_CK = QKEY_GC_B11
Aim knife
KEY_KAMAE_KNIFE = QKEY_GC_B8
#Aim Knife
Inventory (Enter/Exit the Inventory/Status screen)
KEY_ST = QKEY_GC_B13
Options (Enter options screen)
KEY_OPTION = QKEY_GC_B14
Zoom with (Scope, Rocket Launcher, Map)
KEY_C_U = QKEY_GC_B24
KEY_C_D = QKEY_GC_B23
These change the inventory menu and the QTE's
KEY_Y = QKEY_GC_B11
KEY_X = QKEY_GC_B12
KEY_B = QKEY_GC_B9
KEY_A = QKEY_GC_B11
Status screen
KEY_SSCRN = QKEY_GC_B13
Map
KEY_MAP = QKEY_GC_B12
Look Up/Down and Zoom In/Out on Bottlecap and Map screens
KEY_LB = QKEY_GC_B7
KEY_RB = QKEY_GC_B6
Status screen directions
KEY_U = QKEY_GC_B4
KEY_U = QKEY_GC_B20
KEY_D = QKEY_GC_B3
KEY_D = QKEY_GC_B19
KEY_R = QKEY_GC_B2
KEY_R = QKEY_GC_B18
KEY_L = QKEY_GC_B1
KEY_L = QKEY_GC_B17
z button from Gamecube (I haven't found a use for this button yet)
KEY_Z = QKEY_GC_B5
KEY_Z = QKEY_GC_B8
Skip Cutscenes
KEY_EV_CANCEL = QKEY_GC_B14
Exit menu
KEY_CANCEL = QKEY_GC_B10
Advance in menu
KEY_OK = QKEY_GC_B9
KEY_OK = QKEY_GC_B11
More Left D-pad inputs (No idea what these are for though)
KEY_LL = QKEY_GC_B1
KEY_LR = QKEY_GC_B2
KEY_LD = QKEY_GC_B3
KEY_LU = QKEY_GC_B4
Look Left/Right
KEY_C_R = QKEY_GC_B22
KEY_C_L = QKEY_GC_B21
This is everything I understand about input.ini right now.
If you discover something I don't know then please feel free to share.
Default Settings (In case you mess something up)
This gives you...
LT = Aim Knife
RB = Command Ashley
RT = Aim Gun
A = Run
X = Action
Y = Map
Back = Option/Skip Videos
Start = Status/Inventory
Copy and paste the below into your input.ini file...
If you come up with configurations of your own then please do share them in this thread.
Once we have modding tools I will be making some button mods to match the more popular layouts people are using for Playstation and XBox controllers.
Editing input.ini.
Okay, here's my rough guide to button configuration. This is only for the Xbox 360 controller inputs, because that's all I have access to.
First let me cover the inputs on the controller and the buttons the input.ini thinks those match up to. It doesn't follow the DirectInput HID mapping, in case you are wondering.
Button mappings in input.ini
XBOX | RE4
RT = B5
LB = B6
RB = B7
LT = B8
A = B9
B = B10
X = B11
Y = B12
START = B13
BACK = B14
B1 - B4 are mapped to direction inputs on the D-PAD
B17-B20 are the left analog stick.
KEY_EV_CANCEL = QKEY_GC_B14
KEY_CANCEL = QKEY_GC_B10
KEY_OK = QKEY_GC_B9
KEY_OK = QKEY_GC_B11
The duplicate entries for KEY_OK are where the "X" and the "A" buttons were both the same.
I also have not found any way to switch the should QTE's to L1/R1
Okay, now that that's out of the way let's break down what each input seemingly is. This is the default button inputs.
NOTE: If you change a button input, like B9 to B11, change EVERY other B9 you see to B11, unless you have a specific reason not to. Keeping the buttons consistent is important.
What the input options mean
###XINPUT_CONTROLLER_A
Walking/Aiming
KEY_FORWARD = QKEY_GC_B4
KEY_FORWARD = QKEY_GC_B20
KEY_BACK = QKEY_GC_B3
KEY_BACK = QKEY_GC_B19
KEY_RIGHT = QKEY_GC_B2
KEY_RIGHT = QKEY_GC_B18
KEY_LEFT = QKEY_GC_B1
KEY_LEFT = QKEY_GC_B17
Aim gun (RT/R2 QTE is not altered when you change this)
KEY_KAMAE = QKEY_GC_B5
Not sure what this changes (If you figure this one out, let me know)
KEY_RELOCKON = QKEY_GC_B7
Run
KEY_RUN = QKEY_GC_B9
Shoot
KEY_FIRE = QKEY_GC_B11
Command Ashley
KEY_ASHLEY = QKEY_GC_B6
Action Button
KEY_CK = QKEY_GC_B11
Aim knife
KEY_KAMAE_KNIFE = QKEY_GC_B8
#Aim Knife
Inventory (Enter/Exit the Inventory/Status screen)
KEY_ST = QKEY_GC_B13
Options (Enter options screen)
KEY_OPTION = QKEY_GC_B14
Zoom with (Scope, Rocket Launcher, Map)
KEY_C_U = QKEY_GC_B24
KEY_C_D = QKEY_GC_B23
These change the inventory menu and the QTE's
KEY_Y = QKEY_GC_B11
KEY_X = QKEY_GC_B12
KEY_B = QKEY_GC_B9
KEY_A = QKEY_GC_B11
Status screen
KEY_SSCRN = QKEY_GC_B13
Map
KEY_MAP = QKEY_GC_B12
Look Up/Down and Zoom In/Out on Bottlecap and Map screens
KEY_LB = QKEY_GC_B7
KEY_RB = QKEY_GC_B6
Status screen directions
KEY_U = QKEY_GC_B4
KEY_U = QKEY_GC_B20
KEY_D = QKEY_GC_B3
KEY_D = QKEY_GC_B19
KEY_R = QKEY_GC_B2
KEY_R = QKEY_GC_B18
KEY_L = QKEY_GC_B1
KEY_L = QKEY_GC_B17
z button from Gamecube (I haven't found a use for this button yet)
KEY_Z = QKEY_GC_B5
KEY_Z = QKEY_GC_B8
Skip Cutscenes
KEY_EV_CANCEL = QKEY_GC_B14
Exit menu
KEY_CANCEL = QKEY_GC_B10
Advance in menu
KEY_OK = QKEY_GC_B9
KEY_OK = QKEY_GC_B11
More Left D-pad inputs (No idea what these are for though)
KEY_LL = QKEY_GC_B1
KEY_LR = QKEY_GC_B2
KEY_LD = QKEY_GC_B3
KEY_LU = QKEY_GC_B4
Look Left/Right
KEY_C_R = QKEY_GC_B22
KEY_C_L = QKEY_GC_B21
This is everything I understand about input.ini right now.
If you discover something I don't know then please feel free to share.
Default Settings (In case you mess something up)
This gives you...
LT = Aim Knife
RB = Command Ashley
RT = Aim Gun
A = Run
X = Action
Y = Map
Back = Option/Skip Videos
Start = Status/Inventory
Copy and paste the below into your input.ini file...
###XINPUT_CONTROLLER_A
KEY_FORWARD = QKEY_GC_B4
KEY_FORWARD = QKEY_GC_B20
KEY_BACK = QKEY_GC_B3
KEY_BACK = QKEY_GC_B19
KEY_RIGHT = QKEY_GC_B2
KEY_RIGHT = QKEY_GC_B18
KEY_LEFT = QKEY_GC_B1
KEY_LEFT = QKEY_GC_B17
KEY_KAMAE = QKEY_GC_B5
KEY_RELOCKON = QKEY_GC_B7
KEY_RUN = QKEY_GC_B9
KEY_FIRE = QKEY_GC_B11
KEY_ASHLEY = QKEY_GC_B6
KEY_CK = QKEY_GC_B11
KEY_KAMAE_KNIFE = QKEY_GC_B8
KEY_ST = QKEY_GC_B13
KEY_OPTION = QKEY_GC_B14
KEY_C_U = QKEY_GC_B24
KEY_C_D = QKEY_GC_B23
KEY_Y = QKEY_GC_B11
KEY_X = QKEY_GC_B12
KEY_B = QKEY_GC_B9
KEY_A = QKEY_GC_B11
KEY_SSCRN = QKEY_GC_B13
KEY_MAP = QKEY_GC_B12
KEY_LB = QKEY_GC_B7
KEY_RB = QKEY_GC_B6
KEY_U = QKEY_GC_B4
KEY_U = QKEY_GC_B20
KEY_D = QKEY_GC_B3
KEY_D = QKEY_GC_B19
KEY_R = QKEY_GC_B2
KEY_R = QKEY_GC_B18
KEY_L = QKEY_GC_B1
KEY_L = QKEY_GC_B17
KEY_Z = QKEY_GC_B5
KEY_Z = QKEY_GC_B8
KEY_EV_CANCEL = QKEY_GC_B14
KEY_CANCEL = QKEY_GC_B10
KEY_OK = QKEY_GC_B9
KEY_OK = QKEY_GC_B11
KEY_LL = QKEY_GC_B1
KEY_LR = QKEY_GC_B2
KEY_LD = QKEY_GC_B3
KEY_LU = QKEY_GC_B4
KEY_C_R = QKEY_GC_B22
KEY_C_L = QKEY_GC_B21
KEY_FORWARD = QKEY_GC_B4
KEY_FORWARD = QKEY_GC_B20
KEY_BACK = QKEY_GC_B3
KEY_BACK = QKEY_GC_B19
KEY_RIGHT = QKEY_GC_B2
KEY_RIGHT = QKEY_GC_B18
KEY_LEFT = QKEY_GC_B1
KEY_LEFT = QKEY_GC_B17
KEY_KAMAE = QKEY_GC_B5
KEY_RELOCKON = QKEY_GC_B7
KEY_RUN = QKEY_GC_B9
KEY_FIRE = QKEY_GC_B11
KEY_ASHLEY = QKEY_GC_B6
KEY_CK = QKEY_GC_B11
KEY_KAMAE_KNIFE = QKEY_GC_B8
KEY_ST = QKEY_GC_B13
KEY_OPTION = QKEY_GC_B14
KEY_C_U = QKEY_GC_B24
KEY_C_D = QKEY_GC_B23
KEY_Y = QKEY_GC_B11
KEY_X = QKEY_GC_B12
KEY_B = QKEY_GC_B9
KEY_A = QKEY_GC_B11
KEY_SSCRN = QKEY_GC_B13
KEY_MAP = QKEY_GC_B12
KEY_LB = QKEY_GC_B7
KEY_RB = QKEY_GC_B6
KEY_U = QKEY_GC_B4
KEY_U = QKEY_GC_B20
KEY_D = QKEY_GC_B3
KEY_D = QKEY_GC_B19
KEY_R = QKEY_GC_B2
KEY_R = QKEY_GC_B18
KEY_L = QKEY_GC_B1
KEY_L = QKEY_GC_B17
KEY_Z = QKEY_GC_B5
KEY_Z = QKEY_GC_B8
KEY_EV_CANCEL = QKEY_GC_B14
KEY_CANCEL = QKEY_GC_B10
KEY_OK = QKEY_GC_B9
KEY_OK = QKEY_GC_B11
KEY_LL = QKEY_GC_B1
KEY_LR = QKEY_GC_B2
KEY_LD = QKEY_GC_B3
KEY_LU = QKEY_GC_B4
KEY_C_R = QKEY_GC_B22
KEY_C_L = QKEY_GC_B21
If you come up with configurations of your own then please do share them in this thread.
Once we have modding tools I will be making some button mods to match the more popular layouts people are using for Playstation and XBox controllers.