Go Back   Steam Users' Forums > Steam Game Discussions > # - C > BRINK

Reply
 
Thread Tools Display Modes
Old 05-14-2011, 07:36 AM   #1
DeanoC
 
DeanoC's Avatar
 
Splash Damage
Join Date: May 2011
Reputation: 33
Posts: 36
Deano's Unofficial 360 pad config for PC

Whilst I'm Lead programmer for Brink, I'm also a disabled gamer and so was very annoyed at myself when the reports came out that the 360 pad wasn't supported in Brink

However with a little digging I'm glad to say it is working just buried a bit. I apologise for taking a few days to get this information together.

Officially PC Brink using a controller is UNSUPPORTED however I think you should find this works okay for 360 pad users. One important thing to note, is that PC Brink does NOT have aim assistance on mouse or controller. So the extra help you get on consoles using a controller, doesn't exist here!
However seeing videos of the talents of some disabled gamers, I don't think that will be a problem

-----------------------
Enable controllers
-----------------------
Controllers are disabled by default, to enable them bring down the command console and type
g_EnablePCControllerInput 1
or add it to your command line when running Brink via
+set g_EnablePCControllerInput 1
If you enabled it in the console, you will likely have to restart Brink before it detects your controllers.

Once enabled 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).

----------------------
A bind config for pads
----------------------
Once you have enabled controllers you will find that the analog sticks will now control the player same as the mouse does. However no buttons and triggers will work yet. For this we have to run a bind config which maps what button does what.

Create a text file called unsupported360pad.cfg and cut and paste from the code block below into it. This file should be placed in you 'base' folder which should be located where your brink.exe is.

Bring down the command console and type (if its in the right place, it will tab complete the full config file name)
exec unsupported360pad.cfg

This will enable a set of binding similar to the default configuration on XBOX 360. It will also leave the mouse and keyboard binding intact, so you can use either M/KB or Controller at any time.

Hopefully the config file makes some sense if you wish to have a different button configuration, however if not if you PM me I'll try to help move some buttons around, to get us all gaming the way we want

---------------------
Known Issues
---------------------
Onscreen key reminders:
The onscreen button reminders will still be for KB/M, so for example it will inform you that keyboard X is for self buffing. This may make it harder to remember which controller button does what I'm afraid but hopefully that won't be too much of a problem, as there is no solution currently.

unsupported360pad.cfg
Code:
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"

// 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 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"

// 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"

Last edited by DeanoC: 05-14-2011 at 07:36 AM. Reason: typo
DeanoC is offline  
Reply With Quote
Old 05-14-2011, 07:54 AM   #2
dogstar060763
 
Join Date: Nov 2010
Reputation: 38
Posts: 269
Thank you! This DOES work, but there are a few issues:

1. How do I increase turn speed on the R analog stick - very slow!

2. When turning, screen tears considerably, but switch back to mouse and no tearing occurs when turning. Any ideas? I'm on an nVidiaGTX460 and graphics are otherwise fine when playing with k/m.

Thank you again for this cfg - fantastic work, for which I am very grateful.
dogstar060763 is offline   Reply With Quote
Old 05-14-2011, 07:59 AM   #3
DeanoC
 
DeanoC's Avatar
 
Splash Damage
Join Date: May 2011
Reputation: 33
Posts: 36
Adding these items to the config and changing the numbers, might changed the R stick speed. However tbh I'm not sure and its possible the network won't allow them to be changed...

seta in_player_yaw_speed "230"
seta in_player_pitch_speed "100"

As for extra screen tearing when using the controller, I'm thinking hard and coming up blank... The controller code is so far from the rendering, its hard to see how its having a knock on effect.

I'll some ponder some more on the issue...

Glad its working for you
DeanoC is offline   Reply With Quote
Old 05-14-2011, 08:06 AM   #4
dogstar060763
 
Join Date: Nov 2010
Reputation: 38
Posts: 269
Quote:
Originally Posted by DeanoC View Post
Adding these items to the config and changing the numbers, might changed the R stick speed. However tbh I'm not sure and its possible the network won't allow them to be changed...

seta in_player_yaw_speed "230"
seta in_player_pitch_speed "100"

As for extra screen tearing when using the controller, I'm thinking hard and coming up blank... The controller code is so far from the rendering, its hard to see how its having a knock on effect.

I'll some ponder some more on the issue...

Glad its working for you
Sadly, adding those lines of code to the .cfg didn't speed turn speed up on the R analog stick. Also, I think I perhaps the game is dropping frames when turning as opposed to tearing. My mistake; I described it wrong. Looking at it now, it definitely looks like it's dropping frames when turning with the R analog stick. As I said, turning with the mouse is fine.

Really appreciating your work here, fella. You're a saint!
dogstar060763 is offline   Reply With Quote
Old 05-14-2011, 08:07 AM   #5
L1qu1d
 
 
 
Join Date: Oct 2010
Reputation: 23
Posts: 270
+rep for you sir
L1qu1d is offline   Reply With Quote
Old 05-14-2011, 08:19 AM   #6
dogstar060763
 
Join Date: Nov 2010
Reputation: 38
Posts: 269
Good news: I forgot to increase the numbers in those last two lines of code.

I now have them reading:

seta in_player_yaw_speed "1500"
seta in_player_pitch_speed "1000"

Much faster turning and but still some frame dropping when turning with the R stick.

Last edited by dogstar060763: 05-14-2011 at 08:52 AM.
dogstar060763 is offline   Reply With Quote
Old 05-14-2011, 08:35 AM   #7
BobbyGuns
 
Guest
Posts: n/a
Quote:
Originally Posted by DeanoC View Post
Whilst I'm Lead programmer for Brink, I'm also a disabled gamer and so was very annoyed at myself when the reports came out that the 360 pad wasn't supported in Brink

However with a little digging I'm glad to say it is working just buried a bit. I apologise for taking a few days to get this information together.

Officially PC Brink using a controller is UNSUPPORTED however I think you should find this works okay for 360 pad users. One important thing to note, is that PC Brink does NOT have aim assistance on mouse or controller. So the extra help you get on consoles using a controller, doesn't exist here!
However seeing videos of the talents of some disabled gamers, I don't think that will be a problem

-----------------------
Enable controllers
-----------------------
Controllers are disabled by default, to enable them bring down the command console and type
g_EnablePCControllerInput 1
or add it to your command line when running Brink via
+set g_EnablePCControllerInput 1
If you enabled it in the console, you will likely have to restart Brink before it detects your controllers.

Once enabled 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).

----------------------
A bind config for pads
----------------------
Once you have enabled controllers you will find that the analog sticks will now control the player same as the mouse does. However no buttons and triggers will work yet. For this we have to run a bind config which maps what button does what.

Create a text file called unsupported360pad.cfg and cut and paste from the code block below into it. This file should be placed in you 'base' folder which should be located where your brink.exe is.

Bring down the command console and type (if its in the right place, it will tab complete the full config file name)
exec unsupported360pad.cfg

This will enable a set of binding similar to the default configuration on XBOX 360. It will also leave the mouse and keyboard binding intact, so you can use either M/KB or Controller at any time.

Hopefully the config file makes some sense if you wish to have a different button configuration, however if not if you PM me I'll try to help move some buttons around, to get us all gaming the way we want

---------------------
Known Issues
---------------------
Onscreen key reminders:
The onscreen button reminders will still be for KB/M, so for example it will inform you that keyboard X is for self buffing. This may make it harder to remember which controller button does what I'm afraid but hopefully that won't be too much of a problem, as there is no solution currently.

unsupported360pad.cfg
Code:
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"

// 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 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"

// 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"


Deanoc

I want to thank you so much for taking the time to help ! this will benifit so many gamers, as so many are out there looking for help on this issue again thank you very much.

Regards Bobby
  Reply With Quote
Old 05-14-2011, 08:41 AM   #8
BobbyGuns
 
Guest
Posts: n/a
Guys one more this I pasted the speed line in the cfg file but my player still moves slow, did i do something worng ?


in_player_yaw_speed "750"
seta in_player_pitch_speed "350"his
  Reply With Quote
Old 05-14-2011, 08:52 AM   #9
dogstar060763
 
Join Date: Nov 2010
Reputation: 38
Posts: 269
Quote:
Originally Posted by BobbyGuns View Post
Guys one more this I pasted the speed line in the cfg file but my player still moves slow, did i do something worng ?


in_player_yaw_speed "750"
seta in_player_pitch_speed "350"his
seta in_player_yaw_speed "1500"
seta in_player_pitch_speed "1000"
dogstar060763 is offline   Reply With Quote
Old 05-14-2011, 08:57 AM   #10
Warhorse
 
 
 
Join Date: Aug 2004
Reputation: 558
Posts: 2,340
Will there be a patch at some point to add it properly? (with proper button icons, sensitivity controls etc).

I'm gonna stick with Xpadder for now, i have it setup exactly like the 360 controls and i don't have to use console to enable it everytime i start the game.

Nice to know for those that don't use things like Xpadder though.
Warhorse is offline   Reply With Quote
Old 05-14-2011, 09:20 AM   #11
DeanoC
 
DeanoC's Avatar
 
Splash Damage
Join Date: May 2011
Reputation: 33
Posts: 36
Try the following for left stick adjustment
seta in_player_side_speed "140"
seta in_player_forward_speed "140"

You shouldn't need to add all the settings to your autoexec.cfg (not sure about the seta's tbh) once set it should remember all your binds.

Last edited by DeanoC: 05-14-2011 at 09:21 AM. Reason: clarification
DeanoC is offline   Reply With Quote
Old 05-14-2011, 10:18 AM   #12
BobbyGuns
 
Guest
Posts: n/a
Smile

Quote:
Originally Posted by DeanoC View Post
Try the following for left stick adjustment
seta in_player_side_speed "140"
seta in_player_forward_speed "140"

You shouldn't need to add all the settings to your autoexec.cfg (not sure about the seta's tbh) once set it should remember all your binds.
Thanks again that helped verymuch !!!!

you are a life saver

Regards
  Reply With Quote
Old 05-14-2011, 01:12 PM   #13
Achromatis
 
Join Date: May 2011
Reputation: 17
Posts: 31
Thanks for this! I was using Xpadder but even with the advanced mapping options it just wasnt working right(like context sensitive controls).

However Im also getting the choppy camera issue when using the stick to look around. Its kinda like... skipping. I dont think its affecting the framerate so much as just skipping/choppy with the controller input. The effect is it looks like choppy framerate.

Changing the camera speed makes it less notable but its still there. I also tried the

seta in_player_side_speed "140"
seta in_player_forward_speed "140"

but its still there. I put this into my autoexec.cfg and am messing with different settings(I dont know what half of them do, lol).

Code:
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.2"
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.2"
seta in_player_forward_axis "1"
seta in_player_forward_joy "1"
seta in_player_yaw_power "3"
seta in_player_yaw_offset "0"
seta in_player_yaw_invert "1"
seta in_player_yaw_speed "170"
seta in_player_yaw_deadZone "0.01"
seta in_player_yaw_axis "2"
seta in_player_yaw_joy "1"
seta in_player_pitch_power "3"
seta in_player_pitch_offset "0"
seta in_player_pitch_invert "0"
seta in_player_pitch_speed "100"
seta in_player_pitch_deadZone "0.01"
seta in_player_pitch_axis "3"
seta in_player_pitch_joy "1"
I think these were defaults for Quake Wars or something.

Last edited by Achromatis: 05-14-2011 at 01:14 PM.
Achromatis is offline   Reply With Quote
Old 05-14-2011, 01:32 PM   #14
Feather5tone
 
Guest
Posts: n/a
Having the same issue. Everything works perfectly except for camera movement with the right stick. If anybody figures this out please post it here! It's very slow and like stated above, very choppy. If we could get some way to configure stick sensitivity and acceleration we should be ace.

Mucho thanks to Deano for putting this out there. We've been beating ourselves senseless trying to get this working all week

A very nice post to see when I woke up today! We're 95% of the way there!

EDIT: Solution! I found a perfect fix for machine! I have NO frame stuttering when using the right stick anymore. Here's exactly what I did (though I think it may just be the enabling of the V-Sunc. If you haven't enabled Vertical Sync yet, please try that first - it may solve the issue straight away!)

By slightly lowering my resolution to get a higher framerate, I then turned on both V-Sync (to stop the frame-tearing) and Motion Blur (to help mask any slight "choppiness" between frames).

I hope this works for you all too - if you have any results lease share so everybody can get the best experience. Cheers.

Last edited by Feather5tone: 05-14-2011 at 02:50 PM.
  Reply With Quote
Old 05-14-2011, 01:42 PM   #15
dogstar060763
 
Join Date: Nov 2010
Reputation: 38
Posts: 269
Quote:
Originally Posted by Feather5tone View Post
Having the same issue. Everything works perfectly except for camera movement with the right stick. If anybody figures this out please post it here! It's very slow and like stated above, very choppy. If we could get some way to configure stick sensitivity and acceleration we should be ace.

Mucho thanks to Deano for putting this out there. We've been beating ourselves senseless trying to get this working all week

A very nice post to see when I woke up today! We're 95% of the way there!
Yep - Deano is a STAR for the work he's done here. Just hope he can close that final gap and sign off on that last problem with the R stick. We are SO close...
dogstar060763 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > # - C > BRINK


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 09:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.