Apologies for taking so long to fix this mod! I haven't touched Cyberpunk 2077 since February 2021, so when the game was updated, the vanilla game scripts were modified creating a few bugs. The bugs should now be remedied since I recreated the mod using the newer vanilla game scripts. If there are any new issues I am not tracking, please let me know and I'll see what I can do!
Why not just add these as options in the main menu? s#*! most of these things can be done already in 1.3, and the rest you can just rebind with mod's like Custom Keybinds, rather than having to edit the game file externally... If anything, what this does is limit your options more than it "enhances" them. Especially with mods like Custom Quick Slots or Advanced Controls which actually add functionality to the game (and support custom binding in game, I feel like this is a touch misleading with it's name, these aren't enhanced controls, at least not anymore after 1.3... just your preferred key-binds, with removing altogether binds outside of that which could have just been unmapped ingame.
This mod was released 5 days after the game was launched back in 2020 -- so at the time it was enhancing the game's controls. Only thing the most recent update did was un-break the mod after CDPR modified inputContexts.xml and inputUserMappings.xml in subsequent updates. Outside of that, neither the mod nor the game have been touched in the last year. Main thing this still provides is simplicity.
Fixed the inability to exit the computer menu, for some reason, the lines of code responsible for the corresponding keys were removed from both files Link: Enhanced Controls FIX
The manual fix for not being able exiting a terminal or using the comparison toggle in the inventory: [Keyboard only, but for the mouse option you just have to edit the keybindings.] But you have to do it by yourself, but it's not that complicated. The manual is below:
The creater made two mistakes while adding the new features. I don't really know why, but it's pretty easy to fix. You just have to re-add the Buttons for leaving the terminal and using the comparison tooltip in the inventory. I recommend using notepad++, but you can use every code-Editor.
Open the inputUserMappings.sml file.
copy this: <mapping name="Exit_Button" type="Button" SIEJADependent="true" > <button id="IK_C" overridableUI="cancelSelection"/> <button id="IK_Backspace" /> <button id="IK_Pad_B_CIRCLE" /> </mapping> search for "Cancel_Button" its below the "<!-- TEMP UI MAPPING -->" section. And paste it below the "Cancel_Button" code, leave a free line before and after the pasted text. this is for exiting the terminals.
for using the comparison tooltip in the inventory. copy this: <mapping name="toggle_comparison_tooltip" type="Button" SIEJADependent="true" > <button id="IK_Pad_LeftThumb"/> <button id="IK_Tab"/> </mapping> search for "preview_item" its below the "<!-- World Map Menu -->" section. And paste it below the "preview_item" code, leave a free line before and after the pasted text. this is for the tooltips (Tab in the inventory for equipping new clothes or guns).
You aren't finished yet. Save this file, make sure it's the file in you're Cyberpunk 2077\r6\config folder. Now you assigned these commands are key, now you have to activate them. open the inputContexts.xml file.
Now it's getting a little more complicated.
copy: <action name="UI_Exit" map="Exit_Button" priority="-1" /> paste: search for "UI_Cancel", you get 3 results. paste this under the first and second one.
copy: <acceptedEvents action="UI_Exit" > <event name="BUTTON_PRESSED" /> <event name="BUTTON_RELEASED" /> </acceptedEvents> paste: search for "<acceptedEvents action="UI_Cancel" >" paste it below, watch out for a free line before and after the code. Now it's possible again to leave terminals.
To use the comparison again:
copy: <action name="toggle_comparison_tooltip" map="toggle_comparison_tooltip" priority="-1" /> paste: search for: "preview_item" (it's under the section "UI")
copy: <acceptedEvents action="toggle_comparison_tooltip" > <event name="BUTTON_RELEASED" /> </acceptedEvents> paste: search for: "<acceptedEvents action="preview_item" >" paste it below. watch out for a free line before and after the code.
Now save your work and you should be able again to leave a terminal and toggle the comparison option. You're welcome.
EDIT: Just had a look myself, seem to have fixed it on the mouse variant of the mod. If you need I can have a look at the keyboard version too. Hope it helps!
upload the file to another file sharing site, without registration please, I can not download and will not registrate on dropbox. Or tell me what to edit in the file, what lines to prescribe.
130 comments
Link: Enhanced Controls FIX
you really save my hide
this fix the error cant get out from interact with pc
But you have to do it by yourself, but it's not that complicated.
The manual is below:
The creater made two mistakes while adding the new features. I don't really know why, but it's pretty easy to fix.
You just have to re-add the Buttons for leaving the terminal and using the comparison tooltip in the inventory.
I recommend using notepad++, but you can use every code-Editor.
Open the inputUserMappings.sml file.
copy this:
<mapping name="Exit_Button" type="Button" SIEJADependent="true" >
<button id="IK_C" overridableUI="cancelSelection"/>
<button id="IK_Backspace" />
<button id="IK_Pad_B_CIRCLE" />
</mapping>
search for "Cancel_Button" its below the "<!-- TEMP UI MAPPING -->" section.
And paste it below the "Cancel_Button" code, leave a free line before and after the pasted text.
this is for exiting the terminals.
for using the comparison tooltip in the inventory.
copy this:
<mapping name="toggle_comparison_tooltip" type="Button" SIEJADependent="true" >
<button id="IK_Pad_LeftThumb"/>
<button id="IK_Tab"/>
</mapping>
search for "preview_item" its below the "<!-- World Map Menu -->" section.
And paste it below the "preview_item" code, leave a free line before and after the pasted text.
this is for the tooltips (Tab in the inventory for equipping new clothes or guns).
You aren't finished yet. Save this file, make sure it's the file in you're Cyberpunk 2077\r6\config folder.
Now you assigned these commands are key, now you have to activate them.
open the inputContexts.xml file.
Now it's getting a little more complicated.
copy:
<action name="UI_Exit" map="Exit_Button" priority="-1" />
paste:
search for "UI_Cancel", you get 3 results.
paste this under the first and second one.
copy:
<acceptedEvents action="UI_Exit" >
<event name="BUTTON_PRESSED" />
<event name="BUTTON_RELEASED" />
</acceptedEvents>
paste:
search for "<acceptedEvents action="UI_Cancel" >"
paste it below, watch out for a free line before and after the code.
Now it's possible again to leave terminals.
To use the comparison again:
copy:
<action name="toggle_comparison_tooltip" map="toggle_comparison_tooltip" priority="-1" />
paste:
search for: "preview_item" (it's under the section "UI")
copy:
<acceptedEvents action="toggle_comparison_tooltip" >
<event name="BUTTON_RELEASED" />
</acceptedEvents>
paste:
search for: "<acceptedEvents action="preview_item" >"
paste it below. watch out for a free line before and after the code.
Now save your work and you should be able again to leave a terminal and toggle the comparison option.
You're welcome.
EDIT: Just had a look myself, seem to have fixed it on the mouse variant of the mod. If you need I can have a look at the keyboard version too. Hope it helps!
Link: Enhanced Controls (Mouse Variant)-235-v1-4-9-1608666475 FIXEDEXIT.zip?
I love this mod. But if you cant log out from computers i cant use it anymore
/edit: Its working now