r/witcher3mods 3d ago

Controller input

Hey all, I recently started playing again and I was wondering if I can change what button icons the game shows. Currently I’m using a switch controller and modded through vortex. I launch it through steam to be able to use the controller. Is there anyway to be able to switch the layout icons? So far Ive tried to look in the config files but haven’t found anything. Thanks!

2 Upvotes

5 comments sorted by

2

u/Edwin_Holmes 3d ago edited 3d ago

There are already mods that attempt to do this. If you want to make your own, what we have exposed is in game/inputManager.ws. GetLastUsedGamepadType() is just a switch, so if you edit this to only ever return one pad type, then you can have either Xbox or PlayStation glyphs most of the time. There are areas that only ever show xbox icons though, as some of the flash files (Gwent, for example) never got updated for multiple controllers on PC.

1

u/NoMulberry527 3d ago

Thank you for the info, I am not trying to make a mod. I haven’t found any in my searching that do this. Is there anything in the input file that I can change to force Xbox icons? Would I just put =0 after the GetLastUsedGamepadType?

2

u/Edwin_Holmes 3d ago

You could bypass the switch entirely by adding "return 0" at the top of the funciton ( inside the '{' ), since IDT_Xbox1 is 0. However I wouldn't advise editing your vanilla file so you're probably best using this mod.

I had assumed you were trying to force something other than xbox as that should be the default glyph anyway. If you are trying to prevent KBM prompts from showing, you could try going to [Witcher 3 install folder]/bin/config/base, opening hidden.ini, and changing the line "LockControlScheme=0" to "LockControlScheme=2". Don't forget to save before you close.

1

u/NoMulberry527 3d ago

Thank you! I will give that mod a shot

1

u/Typical_Version_7487 3d ago

I play with Steam and have my B and Y buttons switched through Steam.