Portal 2
Dustman Oct 10, 2013 @ 12:37pm
Official Microsoft Xbox 360 controller not working.
I use a wired Xbox 360 controller for my PC that has worked perfectly with everything. I used to use it for Portal 2 as well. After I restored my PC and re-installed Portal 2 (from Steam of course), it only works in menus. I have enabled the controller in my settings, and I don't have faulty USB connections.

So, my left joystick works for navigating menus, but doesn't when I'm in-game and want to use it to walk. Any solutions to this?
< >
Showing 1-15 of 25 comments
Mora2403 Oct 10, 2013 @ 12:44pm 
I added you to help you
Dustman Oct 10, 2013 @ 1:11pm 
No results.
Mora2403 Oct 10, 2013 @ 1:22pm 
I fix my controller. I restarted steam, right click on portal 2 game, properties, local files, verify cache integrity, then unplugged my joystick and plugged it again. When I started the game the controller worked perferct :D
Dustman Oct 10, 2013 @ 1:24pm 
Tried that already, nothing happened for me.
Commander Oct 10, 2013 @ 2:32pm 
Hi TheMysteriousMrM, for easiness I am assuming that when your restored your pc, after reinstalling Portal2 you didn't do the Developer Console Command.

From Portal 2 main menu, go to Options>Keyboard/Mouse then Enable the "Allow Developer Console", Click Done.

On your keyboard press the Console Key (normal " ~ " or " ` " (UK Keyboard Layout Key to the left on 1 on Top Left Hand Side)

Within the Console Window type in "exec 360controller" the press the Return/Enter Key.

Now go to Options>Controller and set the setting "Controller" to enable. Please Done

It should now work, however if it doesnt I have noticed that on my, the following Console Command also works. "exec joy_pc_default" and "exec joy_configuration"

I hope this helps you.
Dustman Oct 10, 2013 @ 2:46pm 
Originally posted by GeekCommanderUK:
Hi TheMysteriousMrM, for easiness I am assuming that when your restored your pc, after reinstalling Portal2 you didn't do the Developer Console Command.

From Portal 2 main menu, go to Options>Keyboard/Mouse then Enable the "Allow Developer Console", Click Done.

On your keyboard press the Console Key (normal " ~ " or " ` " (UK Keyboard Layout Key to the left on 1 on Top Left Hand Side)

Within the Console Window type in "exec 360controller" the press the Return/Enter Key.

Now go to Options>Controller and set the setting "Controller" to enable. Please Done

It should now work, however if it doesnt I have noticed that on my, the following Console Command also works. "exec joy_pc_default" and "exec joy_configuration"

I hope this helps you.

Thanks lots for your help, I found another topic giving me some more clues to what the problem to be. I get these errors:

] exec 360controller
exec: couldn't exec 360controller
] exec controller.360.cfg
exec: couldn't exec controller.360.cfg

Tried a wide range of commands that have worked for others with and without the cfg extension. Also issued the command "joystick 1" No luck. Also, "exec 360controller" works perfectly fine with Team Fortress 2.

Edit: After issuing the joystick command I get confirmation of it linking the joysticks to functions, nothing happenes though:

] joystick 1
Using joystick 'Xbox360 controller' configuration
Advanced joystick settings initialized for joystick 1
------------
joy1 x axis: strafe (absolute)
joy1 y axis: forward (absolute)
joy1 z axis: unmapped
joy1 r axis: pitch (absolute)
joy1 u axis: yaw (absolute)
joy1 v axis: unmapped
Advanced joystick settings initialized for joystick 2
------------
joy2 x axis: strafe (absolute)
joy2 y axis: forward (absolute)
joy2 z axis: unmapped
joy2 r axis: pitch (absolute)
joy2 u axis: yaw (absolute)
joy2 v axis: unmapped
Unknown command: joy_no_accel_scale
Last edited by Dustman; Oct 10, 2013 @ 3:06pm
Dustman Oct 11, 2013 @ 11:29am 
Bump
Dustman Oct 11, 2013 @ 1:38pm 
Here's the console log from starting up the game and loading a save.

NET_GetBindAddresses found 192.168.200.150: 'Realtek RTL8723AE Wireless LAN 802.11n PCI-E NIC'
NET_GetBindAddresses found 25.102.70.124: 'Hamachi Network Interface'
Opened Steam Socket NS_SERVER ( socket 1684 )
Opened Steam Socket NS_CLIENT ( socket 1680 )
Network: IP 192.168.200.150, mode MP, dedicated No, ports 27015 SV / 27005 CL
Parent cvar in client.dll not allowed (movement_anim_playback_minrate)
Game supporting (2) split screen players
maxplayers set to 1
Steam config directory: C:\Program Files (x86)\Steam\steamapps\common\Portal 2/portal2.exe/platform/config
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
Hud element 'CHUDVSScorePanel' doesn't have an entry 'VSScorePanel' in scripts/HudLayout.res
Hud element 'CHUDPaintAmmo' doesn't have an entry 'PaintAmmo' in scripts/HudLayout.res
Hud element 'CHudSubtitles' doesn't have an entry 'HudSubtitles' in scripts/HudLayout.res
Hud element 'CHudSaveStatus' doesn't have an entry 'HudSaveStatus' in scripts/HudLayout.res
--- Missing Vgui material vgui/hud/commands/change_this
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
Hud element 'CHUDVSScorePanel' doesn't have an entry 'VSScorePanel' in scripts/HudLayout.res
Hud element 'CHUDPaintAmmo' doesn't have an entry 'PaintAmmo' in scripts/HudLayout.res
Hud element 'CHudSubtitles' doesn't have an entry 'HudSubtitles' in scripts/HudLayout.res
Hud element 'CHudSaveStatus' doesn't have an entry 'HudSaveStatus' in scripts/HudLayout.res
--- Missing Vgui material vgui/hud/commands/gesture_smallwave
Unknown command "cl_thirdperson"
Unknown command "joy_no_accel_scale"
Using joystick 'Xbox360 controller' configuration
Advanced joystick settings initialized for joystick 1
------------
joy1 x axis: strafe (absolute)
joy1 y axis: forward (absolute)
joy1 z axis: unmapped
joy1 r axis: pitch (absolute)
joy1 u axis: yaw (absolute)
joy1 v axis: unmapped
Advanced joystick settings initialized for joystick 2
------------
joy2 x axis: strafe (absolute)
joy2 y axis: forward (absolute)
joy2 z axis: unmapped
joy2 r axis: pitch (absolute)
joy2 u axis: yaw (absolute)
joy2 v axis: unmapped
Unknown command "cl_thirdperson"
C_GameInstructor::ReadSaveData failed to read GI.lesson.Swap_Split_Screen_Control
SignalXWriteOpportunity(2)
maxplayers set to 1
ConVarRef cl_colorblind doesn't point to an existing ConVar
Loading game from SAVE\76561198049177095\autosave.sav...
SAVEGAME: 1.0kb, 0.0kb used by 0 entities ()
maxplayers set to 1
---- Host_NewGame ----
Network: IP 192.168.200.150, mode SP, dedicated No, ports 0 SV / 0 CL
Opened Steam Socket NS_SERVER ( socket 1692 )
Opened Steam Socket NS_CLIENT ( socket 1680 )
Network: IP 192.168.200.150, mode MP, dedicated No, ports 27015 SV / 27005 CL
Error! Variable "$bumpmap" is multiply defined in material "models/props_bts/beam_castellated"!
Host_NewGame on map sp_a2_bts3
Loading game from //DEFAULT_WRITE_PATH/SAVE/76561198049177095/sp_a2_bts3.HL1...
exec: couldn't exec skill1.cfg
==== calling mapspawn.nut
Unable to load sprite material materials/sprites/gunsmoke.vmt!
Unable to load sprite material materials/sprites/bubble.vmt!
SAVEGAME: 696.5kb, 0.0kb used by 1149 entities (sp_a2_bts3)
1.000: Sending UDP connect to public IP 127.0.0.1:27015
Server using '<none>' lobbies, requiring pw no, lobby id 0
RememberIPAddressForLobby: lobby 0 from address loopback
Connection to Steam servers successful.
VAC secure mode is activated.
SignalXWriteOpportunity(3)
SignalXWriteOpportunity(3)
Can't find factory for entity: wearable_item
NULL Ent in UTIL_PrecacheOther
[PORTAL2 PUZZLEMAKER] --------START loading assets--------

[PORTAL2 PUZZLEMAKER] ---------END loading assets---------

==== calling mapspawn.nut
SAVEGAME: 5.3kb, 0.0kb used by 68 entities (sp_a2_bts3)
Redownloading all lightmaps
Dynamic prop phys_panel_1_model&1521: no sequence named:precut_idle
Dynamic prop phys_panel_1_model&1522: no sequence named:precut_idle
Dynamic prop phys_panel_1_model&1523: no sequence named:precut_idle
Dynamic prop phys_panel_1_model&1524: no sequence named:precut_idle
Dynamic prop phys_panel_1_model&1525: no sequence named:precut_idle
Dynamic prop phys_panel_1_model&1526: no sequence named:precut_idle
Dynamic prop phys_panel_1_model&1527: no sequence named:precut_idle

Yes, I have verified the integrity of my game cache and even reinstalled the game.
Ch3zter Dec 21, 2013 @ 12:43pm 
bumb, i have this exact same proble, the controller works in menus but not in game. i have tried everything from all possible commands to even fully ereasing and reinstalling steam
Dustman Dec 21, 2013 @ 12:44pm 
Originally posted by Ch3zter:
bumb, i have this exact same proble, the controller works in menus but not in game. i have tried everything from all possible commands to even fully ereasing and reinstalling steam

Yup, still haven't found a fix. Hope someone figures this out.
Ch3zter Dec 21, 2013 @ 1:12pm 
i just learned something new. http://forums.steampowered.com/forums/showthread.php?t=1847904 this is a forum psot explaining how to do split screen on portal 2 with a keyboard and controller. i found out i could completly succeed in doing this without having to actualy use the config file they give and without having to force my controller to be second play. so its seems that the cotnroller is always seen as athe second controller and the keyboard as the first controller no moather what.
Ch3zter Dec 27, 2013 @ 7:46am 
i fixed it, i messed with a bit with the dev console in the past to make me able to use splitscreen coop with one person using the keyboard and th eother using my controller.. it seems those settings are permanent even while reinstalling the game i managed to fix it by entering joy_remap_player_for_controller2 1 in the dev console
LazyWhale Dec 27, 2013 @ 10:40am 
i have the same problem my controller doesn't work for anything not even the menus so if someone knows how to fix this plz tell me
SmokeyMcPott Jul 22, 2014 @ 3:36pm 
The joy_remap_player_for_controller2 1 didnt work for me, sadly. This problem really annoys me. @Ch3zter I tried this Tutorial with Keyboard/Gamepad Splitscreenplay. Maybe thats the problem.
Edit: Solved the problem for me by typing "joy_remap_player_for_controller1 1" in the Console. In the past I wanted to play Keyboard/Gamepad Splitscreen Coop and didnt reverse the settings afterwards.
Last edited by SmokeyMcPott; Jul 23, 2014 @ 4:18am
Medic Feb 15, 2015 @ 3:34pm 
Ok. I had the same exact problem. WHat you need to do is: Exit your game, While on your desktop, plug your controller in. Then, when you get in-game, it should work. It did for me.
< >
Showing 1-15 of 25 comments
Per page: 1530 50

Date Posted: Oct 10, 2013 @ 12:37pm
Posts: 25