Using a controller with BRINK


(Crispy) #1

Below is a configuration change you can make to play BRINK with the Xbox 360 controller.

Please note: This configuration change is unsupported and should only be applied by advanced PC users.

How can I use an Xbox 360 controller with the PC version of Brink?

Disclaimer: Using an Xbox 360 controller in the PC version of Brink is completely unsupported. Proceed at your own risk.

Enabling Controllers
Controller detection is disabled by default. To enable it, add the following line to Brink’s start-up commands in Steam:

+set g_EnablePCControllerInput 1

Once this is enabled and you’ve got your controller plugged in, you should see in your console.log a report of what controllers Brink has detected (commonly it will be a 360 controller in port 0/1).

Configuring the Buttons
Once you have enabled controllers, you will find that the analog sticks now control the player same as the mouse does. Buttons and triggers will not work yet, though – to fix this, we’ll have to tell the game via a config file which button is supposed to do what.

Create a cfg file (a file named filename.cfg that can be edited in a text editor) and place it in Brink’s base folder, which will be located inside your …\Steam\steamapps folder. The cfg file should have the following…:


g_controllerAimSmoothingCatchup "50"
g_maxYawSpinUp "15.0"
g_maxYawSpinUpTime "1.0"
ui_useConsoleControls "1"
gui_ShowCursor "0"

seta in_joy1_device "232429"
seta in_joy2_device "232566"
seta in_joy3_device "232703"
seta in_joy4_device "232840"

//movement stick
seta in_player_side_power "1"
seta in_player_side_offset "0"
seta in_player_side_invert "0"
seta in_player_side_speed "140"
seta in_player_side_deadZone "0.175"
seta in_player_side_axis "0"
seta in_player_side_joy "1"

seta in_player_forward_power "1"
seta in_player_forward_offset "0"
seta in_player_forward_invert "1"
seta in_player_forward_speed "140"
seta in_player_forward_deadZone "0.175"
seta in_player_forward_axis "1"
seta in_player_forward_joy "1"

//Aiming stick
seta in_player_yaw_power "2"
seta in_player_yaw_offset "0"
seta in_player_yaw_invert "1"
seta in_player_yaw_speed "230"
seta in_player_yaw_deadZone "0.15"
seta in_player_yaw_axis "2"
seta in_player_yaw_joy "1"

seta in_player_pitch_power "2"
seta in_player_pitch_offset "0"
seta in_player_pitch_invert "0"
seta in_player_pitch_speed "100"
seta in_player_pitch_deadZone "0.15"
seta in_player_pitch_axis "3"
seta in_player_pitch_joy "1"

seta in_player_lefttrigger_power "1"
seta in_player_lefttrigger_offset "0"
seta in_player_lefttrigger_invert "0"
seta in_player_lefttrigger_speed "0"
seta in_player_lefttrigger_deadZone "0"
seta in_player_lefttrigger_axis "4"
seta in_player_lefttrigger_joy "1"

unbindall

bind "JOY1_1"	"_moveup"	 // A
bind "JOY1_2"	"_movedown"	 // B
bind "JOY1_3"	"_consoleContext1"	 // X
bind "JOY1_4"	"_consoleContext2"	 // Y

bind "JOY1_5"	"_sprint" // Left bumper
bind "JOY1_6"	"_useGrenade"	 // Right bumper
bind "JOY1_7"	"_selfInteract"	 // Left stick press
bind "JOY1_8"	"_meleeAttack"	 // Right stick press

bind "JOY1_9" "_limbomenu" "" "default" // Start: Limbo Menu
bind "JOY1_10" "_limbomenushortcut" // Back

bind "JOY1_LEFT_TRIGGER"	"_altattack"
bind "JOY1_RIGHT_TRIGGER"	"_attack"

bind "JOY1_DPAD_LEFT" "_activateContext1"
bind "JOY1_DPAD_RIGHT" "_activateContext2"
bind "JOY1_DPAD_UP" "_consoleContext3"
bind "JOY1_DPAD_DOWN" "_activateContext3"

bind "JOY1_DPAD_LEFT" "_peekLeft"	 "JOY1_LEFT_TRIGGER"
bind "JOY1_DPAD_RIGHT" "_peekRight"	 "JOY1_LEFT_TRIGGER"
bind "JOY1_DPAD_UP" "_peekPopUp"	 "JOY1_LEFT_TRIGGER"
bind "JOY1_DPAD_DOWN" "_peekHide"	 "JOY1_LEFT_TRIGGER"

// Menus
bind "JOY1_1"	 "_menuClick"	 "" "menu"
bind "JOY1_1" "_menuAccept"	 "" "menu"

bind "JOY1_2" "_menuCancel"	 "" "menu"

bind "JOY1_3" "_menuContext"	 "" "menu"
bind "JOY1_3" "_menuEvent1"	 "" "menu"

bind "JOY1_4" "_menuEvent2"	 "" "menu"

bind "JOY1_9" "_menuEvent6"	 "" "menu"
bind "JOY1_10" "_limbomenushortcut"	"" "menu"

bind "JOY1_RIGHT_TRIGGER"	"_menuClick"	 "" "menu"
bind "JOY1_6"	 "_menuEvent3"	 "" "menu" // Left bumper
bind "JOY1_5"	 "_menuEvent4"	 "" "menu" // Right bumper

bind "JOY1_DPAD_UP"	 "_menuNavCategoryUp" "" "menu"
bind "JOY1_DPAD_LEFT"	 "_menuNavBackward" "" "menu"
bind "JOY1_DPAD_DOWN"	 "_menuNavCategoryDown" "" "menu"
bind "JOY1_DPAD_RIGHT"	 "_menuNavForward" "" "menu"

bind "JOY2_1"	 "_menuClick"	 "" "menu"
bind "JOY2_1" "_menuAccept"	 "" "menu"
bind "JOY2_2" "_menuCancel"	 "" "menu"
bind "JOY2_3" "_menuContext"	 "" "menu"
bind "JOY2_9" "_menuAccept"	 "" "menu"
bind "JOY2_10" "_menuCancel"	 "" "menu"

bind "JOY2_RIGHT_TRIGGER"	"_menuClick"	 "" "menu"

bind "JOY2_DPAD_UP"	 "_menuNavCategoryUp" "" "menu"
bind "JOY2_DPAD_LEFT"	 "_menuNavBackward" "" "menu"
bind "JOY2_DPAD_DOWN"	 "_menuNavCategoryDown" "" "menu"
bind "JOY2_DPAD_RIGHT"	 "_menuNavForward" "" "menu"

// Limbo/Ingame Menus
bind "JOY1_1"	 "_menuClick"	 "" "menu_limbo"
bind "JOY1_1" "_menuAccept"	 "" "menu_limbo"

bind "JOY1_2" "_menuCancel"	 "" "menu_limbo"

bind "JOY1_3" "_menuContext"	 "" "menu_limbo"
bind "JOY1_3" "_menuEvent1"	 "" "menu_limbo"

bind "JOY1_4" "_menuEvent2"	 "" "menu_limbo"

bind "JOY1_9" "_limboMenu"	 "" "menu_limbo"//start button
bind "JOY1_10" "_limbomenushortcut"	"" "menu_limbo"

bind "JOY1_RIGHT_TRIGGER"	"_menuClick"	 "" "menu_limbo"
bind "JOY1_6"	 "_menuEvent3"	 "" "menu_limbo" // Left bumper
bind "JOY1_5"	 "_menuEvent4"	 "" "menu_limbo" // Right bumper

bind "JOY1_DPAD_UP"	 "_menuNavCategoryUp" "" "menu_limbo"
bind "JOY1_DPAD_LEFT"	 "_menuNavBackward" "" "menu_limbo"
bind "JOY1_DPAD_DOWN"	 "_menuNavCategoryDown" "" "menu_limbo"
bind "JOY1_DPAD_RIGHT"	 "_menuNavForward" "" "menu_limbo"

bind "JOY2_1"	 "_menuClick"	 "" "menu_limbo"
bind "JOY2_1" "_menuAccept"	 "" "menu_limbo"
bind "JOY2_2" "_menuCancel"	 "" "menu_limbo"
bind "JOY2_3" "_menuContext"	 "" "menu_limbo"
bind "JOY2_9" "_menuCancel"	 "" "menu_limbo"
bind "JOY2_10" "_menuCancel"	 "" "menu_limbo"

bind "JOY2_DPAD_UP"	 "_menuNavCategoryUp" "" "menu_limbo"
bind "JOY2_DPAD_LEFT"	 "_menuNavBackward" "" "menu_limbo"
bind "JOY2_DPAD_DOWN"	 "_menuNavCategoryDown" "" "menu_limbo"
bind "JOY2_DPAD_RIGHT"	 "_menuNavForward" "" "menu_limbo"

// Bind Menus
bind "JOY1_1" "_menuClick"	 "" "bindmenu"
bind "JOY1_1" "_menuAccept"	 "" "bindmenu"
bind "JOY1_2" "_menuCancel"	 "" "bindmenu"
bind "JOY1_3" "_menuContext"	 "" "bindmenu"
bind "JOY1_3" "_menuEvent1"	 "" "bindmenu"
bind "JOY1_4" "_menuEvent2"	 "" "bindmenu"
bind "JOY1_9" "_limbomenu"	 "" "bindmenu"
bind "JOY1_10" "_limbomenushortcut"	"" "bindmenu"

bind "JOY1_RIGHT_TRIGGER"	"_menuClick"	 "" "bindmenu"

bind "JOY2_1" "_menuClick"	 "" "bindmenu"
bind "JOY2_1" "_menuAccept"	 "" "bindmenu"
bind "JOY2_2" "_menuCancel"	 "" "bindmenu"
bind "JOY2_3" "_menuContext"	 "" "bindmenu"
bind "JOY2_9" "_menuAccept"	 "" "bindmenu"
bind "JOY2_10" "_menuCancel"	 "" "bindmenu"

bind "JOY2_RIGHT_TRIGGER"	"_menuClick"	 "" "bindmenu"

// Radial Menus
bind "JOY1_1" "_menuClick"	 "" "radialmenu"
bind "JOY1_1" "_menuAccept"	 "" "radialmenu"
bind "JOY1_2" "_menuCancel"	 "" "radialmenu"
bind "JOY1_RIGHT_TRIGGER"	"_menuClick"	 "" "radialmenu"
bind "JOY1_2" "_menuContext"	 "" "radialmenu"

bind "JOY2_1" "_menuClick"	 "" "radialmenu"
bind "JOY2_RIGHT_TRIGGER"	"_menuClick"	 "" "radialmenu"
bind "JOY2_2" "_menuContext"	 "" "radialmenu"

This will enable a set of bindings similar to the default configuration in the Xbox 360 version of Brink. It should work correctly with all of the menus, as well. It also sets several cvars that should make the controller “feel” nicer to use – you can play around with those to tweak things if necessary.

If you want to return to your standard mouse and keyboard setup, simply go into the Options menu, select Controls and reset everything to default.

Notes

  • Type exec filename.cfg in the console to exec the config that enables controller support (you could also set this in the launch parameters with +set exec filename.cfg
  • Brink PC does not have any sort of aim assistance
  • The on-screen prompts will not display the appropriate controller buttons

(Ryukongaz) #2

Hi,
you have forget to write how the .cfg file should be named!
Thx


(Sabayon) #3

[QUOTE=Ryukongaz;323244]Hi,
you have forget to write how the .cfg file should be named!
Thx[/QUOTE]

autoexec.cfg

Though you can make your config name any name you want and exec it through console.


(Crispy) #4

Thanks, I’ve edited the instructions to be a bit clearer.


(Crytiqal) #5

Is this the default layout for the Xbox controller on the 360?

How am I suppose to wallhop (A) and move my crosshair (right thumbstick) at the same time? :stuck_out_tongue:
I only have one right thumb…


(saman+khizr) #6

hey i downloaded brink through torrents so i cnt use this set launch options in steam so i heard if u use this code in it command console ingame itll work but it says write protect please help me


(saman+khizr) #7

hey guys cnt i do it in another way cuz my steam doesnt have the 22350 folder it has another number folder for brink and i cnt set the controller work


(neg0ne) #8

who the hell would play a shootergame with controller on a pc?

… but, ok… i see its an consolegame that can also be played on pc - that makes sense, but is the biggest problem of the game: leaving the useful stuff out and adding some **** to make it playable on console.

sorry SD but not releasing a propper pc-version of brink was one of the wrongest desicions you made - usinf a controller for pc doesn´t help here.

neg0ne


(Breo) #9

[QUOTE=Crytiqal;330106]How am I suppose to wallhop (A) and move my crosshair (right thumbstick) at the same time? :stuck_out_tongue:
I only have one right thumb…[/QUOTE]

I added this:

bind “JOY1_6” “_moveup” “JOY1_5” “default”

Hold sprint (left bumper) to jump with the right bumper. Release the left bumper to toss a granate.


(Crispy) #10

Please keep discussion focused on questions, tweaks and tips specifically relating to this config or I will have to close the thread.


(BlackHokuro) #11

“add the following line to Brink’s start-up commands in Steam: +set g_EnablePCControllerInput 1”
What does it mean!?


(Breo) #12

[QUOTE=BlackHokuro;336274]“add the following line to Brink’s start-up commands in Steam: +set g_EnablePCControllerInput 1”
What does it mean!?[/QUOTE]

You can add this to the launch options in Steam.

I was experimenting with Crispy’s cfg and switched 2 buttons so you can use your index and mid finger more effectivly.


bind "JOY1_RIGHT_TRIGGER" "_moveup" "JOY1_LEFT_TRIGGER" "default"

bind "JOY1_5" "_altattack"			// LB
bind "JOY1_6" "_attack"				// RB

bind "JOY1_LEFT_TRIGGER" "_sprint"		// LT
bind "JOY1_RIGHT_TRIGGER" "_useGrenade"		// RT

Note
With adding:

// Added to jump and control direction
bind “JOY1_RIGHT_TRIGGER” “_moveup” “JOY1_LEFT_TRIGGER” “default”

You have to change toggleSprint to 1 if you want to use the Sprinting Granate ability when you use my modified settings :smiley:

in_toggleSprint “1”


(Crispy) #13

[ol]
[li]Go into your Steam Library, and right-click on Brink[/li][li]Click ‘Properties’[/li][li]Click ‘Set launch options…’[/li][li]Paste the following:[/li]+set g_EnablePCControllerInput 1
[li]Launch Brink via Steam[/li][/ol]


(BlackHokuro) #14

Thks a lot


(coyote23) #15

How do I get invert look? I’ve tried changing several settings to no avail.


(Crispy) #16

Edit line 40 from:
seta in_player_pitch_invert “0”

To:
seta in_player_pitch_invert “1”


(supermac) #17

Crispy, I don’t understand something and please for one, don’t hide you behind your keyboard …

Why did you answer to a simple and not really important question like this and for the ATI users who dont stop to post thread, nothing, not a little information, completely quiet …

It’s like you don’t care… There are a lot of unhappy players and everything seems to be ok for SD … Money in the pocket and the rest, not your problem ?

Of course, you are playing with an nvidia… :smiley:

Please tell us whats going on with ATI issues …
We still cant play your game, the game is dying and its ok for you ?

Answer us please ! :wink: