Cyberpunk 2077

Cyberpunk 2077

View Stats:
Nafiganza Sep 27, 2023 @ 11:51am
[Solved] Problem with the crouch button
Does anyone else have the problem of not being able to crouch properly using Ctrl?

If I stop for a moment and then press Ctrl it usually works. But when I walk normally and have my weapon drawn, I sometimes have to press Ctrl two or three times until my character finally crouches.

This is annoying and stops me from wanting to use it because it doesn't feel good to always check if I'm really crouched or if I need to press the button again. :steamsad:
Last edited by Nafiganza; Jan 19 @ 4:30am
Originally posted by Cobaalt:
I've been looking at this issue too, as it was driving me crazy.
What's happening with this specific key, is that it waits for you to release the button to trigger.. and if you hold your key too long, then it's ignored... So, with some trial and error, I got the Toogle Crouch to work on KEY PRESS instead. Makes it 10x more responsive, and It's a pretty simple fix.

Looking at the way the xml file is setup, I think they made a mistake in their "hold actions" definitions.

Here's what did the trick for me :

in Cyberpunk 2077\r6\config\inputContext.xml :

1- First, add a new "hold action" for "ToggleCrouch" in the <!-- HOLD ACTIONS --> section, like below :

------------

<hold action="Choice2_Hold"timeout="0.3" />
<hold action="Crouch" timeout="0.3" /> <!-- I DON'T THINK THIS LINE DOES ANYTHING ?-->
<hold action="ToggleCrouch"timeout="0.01" /> <!-- ADD THAT LINE!... IT'S MISSING -->
<hold action="PickUpBody"timeout="0.3" />
<hold action="PickUpBodyFromTakedown"timeout="0.1" />

------------

2- Then, in the <!-- EVENTS --> section, you'll find the entry for the "ToggleCrouch" action (the one we just added that was either missing or badly named in the hold definitions?), and make sure to disable anything else than the BUTTON_HOLD_COMPLETE event, like below :
(Otherwise, the event will trigger several times in quick succession and V will crouch and stand up straight away, or stand up and crouch again...)

------------

<acceptedEvents action="ToggleCrouch" >
<event name="BUTTON_HOLD_COMPLETE" />
<!-- <event name="BUTTON_PRESSED" /> DISABLE (OR DELETE) THIS LINE!)-->
<!-- <event name="BUTTON_RELEASED" /> DISABLE (OR DELETE) THIS LINE!)-->
</acceptedEvents>

------------


That way, what triggers the crouch is only the "ToggleCrouch" hold action, which has a custom (and defined by our new line) 0.01 delay.
An HOLD_COMPLETE event after a hold of 0.01s will feel exactly like an "ON KEY PRESS" event for the player.

I honestly think a programmer made a simple renaming mistake, "Crouch" is NOT a hold action, so having a timeout definition for it makes no sense.
"ToogleCrouch" on the other hand, is, and was lacking an override (So the hold was probably using the default hardcoded value, I guess 0.3?).

I haven't found any side-effects yet, i'll report back if that's the case. Tested on 2.2
< >
Showing 1-15 of 20 comments
UCHIA Sep 27, 2023 @ 11:55am 
C is alternative crouch option, and yes, crouching with Ctrl is a little problematic because DASH is also bound on that key, so Ctrl does dash and crouch at the same time, try alternating with C and Ctrl sometimes, or rebound on different key that's more comfortable for you.
❀❀ V ❀❀ Sep 27, 2023 @ 11:56am 
yep, for some reason you have to very quickly tap it on ctrl or else it thinks its a hold and it cancels it. you can reproduce it every time if you hold CTRL for about a half a second instead of quickly tapping it
★REM★ Sep 27, 2023 @ 11:57am 
Crouch is "C" not "ctrl" that's why?
Myztkl©-Kev Sep 27, 2023 @ 11:58am 
I have the same issue using ctrl for dash, its like it refuses to work if im holding more than 2 keys down.
Same, haven't found a solution
Nafiganza Sep 27, 2023 @ 12:09pm 
Originally posted by UCHIA:
C is alternative crouch option, and yes, crouching with Ctrl is a little problematic because DASH is also bound on that key, so Ctrl does dash and crouch at the same time, try alternating with C and Ctrl sometimes, or rebound on different key that's more comfortable for you.

I have crouch on/off set to ctrl, I don't use the key that you have to hold down to crouch for the reasons you mentioned. It's nonsense to run with shift and crouch with ctrl at the same time, so only the on/off option comes into question.
Nafiganza Sep 27, 2023 @ 12:19pm 
Originally posted by var:
yep, for some reason you have to very quickly tap it on ctrl or else it thinks its a hold and it cancels it. you can reproduce it every time if you hold CTRL for about a half a second instead of quickly tapping it

That's really strange because I didn't have that problem before 2.0
Potential Legend Sep 27, 2023 @ 12:20pm 
Originally posted by ★REM★:
Crouch is "C" not "ctrl" that's why?
They both are, C is toggle crouch and ctrl is hold crouch.
Nafiganza Sep 27, 2023 @ 12:20pm 
Originally posted by ★REM★:
Crouch is "C" not "ctrl" that's why?

sry, maybe I should have written that I swapped c with ctrl
Nafiganza Sep 27, 2023 @ 12:24pm 
Originally posted by Myztkl©-Kev:
I have the same issue using ctrl for dash, its like it refuses to work if im holding more than 2 keys down.

exactly, if you hold W to run, then you have to press Ctrl more often or release W and stop going
Nafiganza Sep 27, 2023 @ 12:30pm 
Originally posted by FlashXAron ☕ (Alex):
Same, haven't found a solution

I doubt there is a solution, I just found an entry from 2022 with the same problem :steamsad:
Sraalok Sep 27, 2023 @ 12:42pm 
I think it's something to do with the response to the game , i have tried several different keys thinking one is worn out . It doesn't matter which key you use , sometimes it responds , sometimes it responds after several pushes, and sometimes it is actually reactive with the one push. Don't know if it's lag or what.
Haggis Sep 27, 2023 @ 12:49pm 
That's because the incompetent Devs are utterly clueless on how to properly program controls into a game. Using Alternate controls is Not a novel idea of wizardry and magic.

Every game I know of lets you re-program controls without any issues, some even let you program two controls to the same key, can you imagine such sorcery!?!
WarNerve Apr 11, 2024 @ 4:28pm 
I have Crouch toggle set to the M5 thumb button on my mouse, and i have this same, exact issue. I can press the button multiple times and I will not crouch. Other times I press it just once and it works. I've also noticed that if I quickly tap the button as fast as I can, then it will work. But a normal button press will only work occasionally. Something is definitely wrong with the Toggle Crouch command.

As an aside, the Sprint toggle is also flawed. It will activate Sprint when you press it the first time. But if you press the button again it does not cancel Sprint. So, it's NOT a toggle. A "Toggle", goes both ways. ON and OFF.
Nafiganza Apr 11, 2024 @ 6:50pm 
Originally posted by WarNerve:
I have Crouch toggle set to the M5 thumb button on my mouse, and i have this same, exact issue. I can press the button multiple times and I will not crouch. Other times I press it just once and it works. I've also noticed that if I quickly tap the button as fast as I can, then it will work. But a normal button press will only work occasionally. Something is definitely wrong with the Toggle Crouch command.

As an aside, the Sprint toggle is also flawed. It will activate Sprint when you press it the first time. But if you press the button again it does not cancel Sprint. So, it's NOT a toggle. A "Toggle", goes both ways. ON and OFF.

It's pity to read that this problem still exists :steamsad:
< >
Showing 1-15 of 20 comments
Per page: 1530 50

Date Posted: Sep 27, 2023 @ 11:51am
Posts: 20