Gamepad locks camera facing

I’ve been using a combination of gamepad + keyboard + mouse for a few years without issue. I’m suddenly having issues with the gamepad now on my new PC. All the key binds are working, but any time I push a gamepad button, the camera locks in the direction it’s currently pointing. If I use A or D to turn (occasionally can’t mouse turn because using I’m using the mouse to target or mouseover healing/dispelling) the camera doesn’t turn with the character.

If I move the mouse cursor a little bit, the camera will sync up with the character and rotate with the character. But every time I hit another gamepad button the camera stops rotating again. I can reproduce this by holding down A or D to start turning. Hitting any gamepad button immediately stops the camera from turning while the character keeps spinning. Moving the mouse cursor a little bit releases the camera lock.

I’m guessing it’s an intentional feature that’s enabled when a gamepad is in use. But I don’t want to use the gamepad for character or camera movement, I’m just using it for extra action buttons. It used to work but something changed.

  • I deleted everything from my addons folders
  • /console cvar_reset
  • /console cvar_default
  • Tried several different camera-related cvar settings and a couple gamepad addons

Windows 10 with Logitech F310. Never had this problem until recently.

Edit: Looks like it is related to GamePadOverlapMouseMs. If I set it to zero then the instant I move the mouse the camera locks to the character again. If I set it to 5000ms, it takes 5 seconds of mouse movement to lock the camera to the character again. I want to know if there is a way to completely prevent the camera from unlocking with the character.

Edit 2: I’ve found a not terrible workaround. Make every key binding that the gamepad uses into a macro which includes this line:

/run SetGamePadFreeLook(false)

It’s not perfect because as soon as you press the button (and as long as it is held down) the camera freezes, and it’s only on button release that the camera starts to rotate again. As long as you aren’t holding a button down it’s useable, but it would be nice to have a real fix.

Trying to make it work on buttownDown by setting

/console ActionButtonUseKeyDown 1

makes it not work at all, so I guess it has to be on button release only.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.