PSA - How to change UI keybinds

Guide

Saw a post yesterday of someone asking if it was possible

Had just found it and was setting it up for myself before that, and found some interesting stuff to share.


In My Documents\My Games\The Division 2\user.bindings they added a few new entries for UI stuff.

All the way down at the bottom you will find these:

KB_UI_F
KB_UI_TAB
KB_UI_Z
KB_UI_X
KB_UI_G
KB_UI_H
KB_UI_V
KB_UI_TAB_LEFT
KB_UI_TAB_RIGHT

You can manually add

KB_UI_R

However, we're missing the entry for (Haven't tried if you can add manually of if they are named something else)

KB_UI_SPACE
KB_UI_ESC



How to change it

In the file you have several bindings, all formatted like this:

{
	myIndex = 0,
	myKeyCombo = 201,
	myKeyComboAlt = 0,
	myName = "KB_UI_X",
},

You want to change myKeyCombo to your desired key code, you can find it from the following link https://minecraft.gamepedia.com/Key_codes ^Thank ^you ^minecraft ^wiki ^for ^a ^easily ^read ^layout




Edit x 2

Seems like KB_UI_R indeed does work after all, and I have confirmed a few keys that you cannot bind.
I have NOT tried adding UI_SPACE or UI_ESC(APE), but they might just work as well.

If possible, when you bind a key and it doesn't appear to work, can you post it in a reply and we can try to get a list of non functional keys.

I'll begin with these:

  • Page Up 201 - Map zoom in conflict
  • Page Down 209 - Map zoom out conflict
  • Home 199
  • [ 26
  • ] 27
  • Arrow keys 200, 203, 205, 208 - UI navigation conflict
  • C 46



My bindings and some images as proof

Updated with new images and bindings 12/03 @ ~midnight GMT

KB_UI_F => Delete
KB_UI_V => Backspace
KB_UI_Z => 0
KB_UI_G => End
KB_UI_X => Num Decimal
KB_UI_H => F9
KB_UI_R => Num Retur
KB_UI_TAB_LEFT => 7
KB_UI_TAB_RIGHT => 8

Main inventory screen
https://i.imgur.com/vuPFDkr.jpg

Gear selection screen
https://i.imgur.com/mdF3R9W.jpg

Modding screen
https://i.imgur.com/smo13E2.jpg

Stats page
https://i.imgur.com/ZNoWptw.jpg

Posted Mar 12, 2019, 8:46 PM UTC · edited

4761
garyb50009•

how is this not stickied somewhere....

5
JokerUniqueThe watcher on the walls.•

I've added it to the community resources.

3
garyb50009•

you rock, thank you!

2
JokerUniqueThe watcher on the walls.•

it is good stuff - and that is why we have the community resources.

2
Gold_FarmerLoot Bag•

Thanks very much!

1
HandHunterOP•

Beats me, not enough people looking for this I guess, spread awareness!!! xD

2
garyb50009•

ok question i just tried this, i moved KB_UI_V to key combo 16 which is r. but in game the icon for v is now blank. am i supposed to change KB_UI_V to KB_UI_R as well?

3
HandHunterOP•

Same key does not work. Use autohotkey or something for that.

2
garyb50009•

would you be ok with pastebin or some other method posting your keybind file? i would love to compare it to mine. but you are saying that if i want interact to be R, i can set that in the in game settings. however, i then cannot map R to the KB_UI_F setting, so that r functions as interact and then when in ui loot all (like it does for f without modification)?

3
Gold_FarmerLoot Bag•

I asked u/JokerUnique to either sticky or sidebar it, and he pointed out the Community Resources page where stuff like this can go, but he hasn't added it there (yet?).

2
JokerUniqueThe watcher on the walls.•

and don't post PMs without asking.

1
Gold_FarmerLoot Bag•

Oh, sorry!

1
ChevRonBurgandy•

Amazing! This is great for lefties and others who may want more accessibility features.

​

The bindings file is also missing an entry for Space and Esc, hopefully they see that along with the entries for R, X, & H!

​

Edit: for the record I just checked and I don't seem to have a problem with X, but my TAB_RIGHT doesn't work and changes back to the default setting. There must be a conflict somewhere that I didn't see and the game is detecting and overriding.....

3
HandHunterOP•

What keybind did you add for tab right?

Trying to get a list together of non-bindable keys.

For me it seems like I cannot use PgUp/PgDn/Home, my best guess is conflicting hardcoded hotkeys.

PgUp/PgDn is used to zoom map in and out.

Edit:
Is it still Num Pad 7/9 as you mentioned in the previous thread?

2
fawbaget•

It's important to note if you've played the alpha/beta, you have to delete the user.bindings file or it won't show those KB_UI keys in the bottom as it RETAINS the config file from the alpha/beta.

After deleting it, relaunch the game so it generates another one. You may need to set a custom keybind for it to show up.

After doing that, I was able to rebind the KB_UI_F key to something different as per the OP's post.

Thanks for the write-up. It was hard using ESDF as movement while having F still bound for something else.

3
Gold_FarmerLoot Bag•

This is a god send for ESDF players like me. THANK YOU!!!

3
HandHunterOP•

You're welcome.

2
Gold_FarmerLoot Bag•

This one config entry has alone made my day :-) Sooooooo happy!

{
  myIndex = 0,  
  myKeyCombo = 17,  
  myKeyComboAlt = 0,  
  myName = "KB_UI_F",  
}

​

1
Rydia4500•

Thank You! I rebind forward to S and backwards to X and I had to unbind X inorder to fast travel :/

2
cyid•

Arrow keys seem to break it as well. I did not test if it was just one of them or all, as I had all 4 in my config.

↑ (200)

← (203)

↓ (208)

→ (205)

​

Also, when trying to rebind KB_UI_TAB_LEFT and KB_UI_TAB_RIGHT using [ (26) and ] (27) the binding was ignored. Meaning, the other bindings were loaded, but the default Q and E were still used in the UI. When I changed them to 7 (8) and 8 (9), they were changed to 7 and 8 in the UI.

2
HandHunterOP•

There are a few bindings that conflict with hardcoded keys and therefore are ignored.

Such as, arrow keys, they are used for UI navigation, and can not be used for other UI binds.

[ and ] I cannot explain, but either they are invalid, or used somewhere else I'm not aware of.

2
Kenithal•

Just wanted to reply so that everyone doesn't have to do what I just did to figure out whats going on.

If you plan on replacing UI_F or any of the UI options with E (keycode 18) the bottom KB_UI_TAB_RIGHT uses E so you have to change it as well!

worked like a charm, now I can use interact as E instead of F!

2
froobilicious•

Thank you so much for this, was driving me and my friends batshit insane, none of us use WASD

2
HandHunterOP•

You're very welcome! Thanks for replying, makes me happy knowing I helped.

2
froobilicious•

Apparently UI_R can't be rebound to 'C' for some reason :|

2
HandHunterOP•

Can't think of anything that should conflict, nothing I know of uses C as a binding, but something must be blocking it.
:(

I'll add it to the list of conflicting keys.

2
Everborn128•

Ive tried following this guide perfectly. It either leaves the thing blank or doesn't change it. All I want is ingame interact to be G(it is) & UI button that's bound to F to also be G.

2
HandHunterOP•

make sure no other keybinding uses G as well, though it might be conflicting with some other hardcoded keybinding as well, in which case there is nothing you can do.

1
Everborn128•

Do I change the code AND the letter or just the code?

1
HandHunterOP•

just the code, the

KB_UI_<key>

is the name of the binding

2
Everborn128•

So if it's the F button for UI I want to change to T. Change the code to 20 but leave it F?

1
dryden13•

Hey HandHunter,

Glad I found your thread.

I just reset my keys to default and exited game. Now, I'm verifying my game files.

When that is done, I'm going to bind Interact to the "V" key

I was using "C" as Interact, BUT in your Edit x 2, the "C" key does not work.

Fingers crossed that "V" key works

Thanks!

​

EDIT: Fyi, I use ESDF movement keys... so that at the Quartermaster station (Skills / Perks), when I want to unlock a perk/skill with my keyboard, I hit "F" but that scrolls to the right through the perks/skills. I'm trying to make it so that does not happen.

​

Please let me know if that is hardcoded or something... and that can't be changed at the moment... and i will just have to use my mouse to unlock.

​

Also, when I pick up electronic transmssions, I can end them by holding "F" but that makes me move to the right while also ending the transmission... no big deal.. just have to listen to the end of those transmission... just wondering if that is hardcoded as well..

​

yeah... Binding different keys to "Interact" didn't change "F" unlock mod menu at the quartermaster... oh well

​

2
HandHunterOP•

In the games keybinding menu, change the interact to V, and in the config file, change KB_UI_F code to 47, and both UI and world 'F' is instead 'V', and I don't think V conflicts with anything so it should work.

2
dryden13•

I give up. :D

In-game menu, I get a blank space where the 'F' was before.

no big deal so far. I'm just starting out and playing solo for now.

Hopefully, Ubisoft will have a solution/fix/patch.... by the time I start matchmaking and playing with others in a group, I can revive players with MY 'Interact' key and not 'F', which would just move me to the right :)

Thanks for trying to help

1
[deleted]•

[removed]

1
William_Homyk•

I tried changing the KB_UI_F to T but when I open the game its still F. Here is how I edited the bindings file. Is T conflicting with someone else? I need to change this since I use ESDF

myIndex = 0,

	myKeyCombo = 20,

	myKeyComboAlt = 0,

	myName = "KB_UI_F",
1
HandHunterOP•

Might be conflict, never pressed T for anything iirc though.

1
William_Homyk•

Couldn't get it to change to T but I was able to change KB_UI_F to Return/Enter myKeyCombo = 28, Must have some UI conflict with T

1
RustyRusty77•

is there anything for rebinding the esc key?

1
HandHunterOP•

You can try KB_UI_ESC or KB_UI_ESCAPE, not sure if they work, but it might be worth a shot.

I use my keyboards software for this specifically.

1
RustyRusty77•
{
		myIndex = 0,
 	myKeyCombo = 43,
		myKeyComboAlt = 0,
		myName = "KB_UI_ESCAPE",
}, still doesnt work i guess i can live with it unless ahk is an option but ahk doesnt seem to work in game
1
HandHunterOP•

Run both game and ahk.exe as admin, worked for me.

As for the binding, it was a long shot, I wasn't expecting it to work.

1
[deleted]•

[deleted]

1
Akello45•

Is this still working as of the last patch? I'm trying to change the V key within the inventory window from mark as junk, to T.

https://cdn.discordapp.com/attachments/439708255493816332/564869724781936640/unknown.png

The original code is

myIndex = 0,

	myKeyCombo = 47,

	myKeyComboAlt = 0,

	myName = "KB\_UI\_V",

​

Changed it to

myIndex = 0,

	myKeyCombo = 20,

	myKeyComboAlt = 0,

	myName = "KB\_UI\_T",

​

But it's not changing anything within game that I can tell. I haven't seen anyone else say this doesn't work to rebind the V key though.

1
HandHunterOP•

What's with the slashes?

^(Escape character to show underscore? heh)

What you want, is to change

{
	myIndex = 0,
	myKeyCombo = 47,
	myKeyComboAlt = 0,
	myName = "KB_UI_V",
},

into

{
	myIndex = 0,
	myKeyCombo = 20,
	myKeyComboAlt = 0,
	myName = "KB_UI_V",
},

Do NOT change KB_UI_V to KB_UI_T.

'myName' is just a identifier for the game to identify what keybinding you are referring to.

1
Akello45•

Reddit keeps adding the slashes into my code... o.O Didn't realize i was screwing it up by changing the identifier lol

Swapped it to this

myIndex = 0,

	myKeyCombo = 20,

	myKeyComboAlt = 0,

	myName = "KB_UI_V",

​

But still seeing the old keybind of V for Mod in game while looking at gear. Hmmmm

1
Akello45•

So apparently it's just the T keybinding. Trying to change V > T(20) doesn't work. I changed it to several other keys and it's fine.

1
HandHunterOP•

Just remembered, isn't T the keyu to toggle GPS, must be the conflict, as you can toggle in the map view right? (Can't check rn)

1
[deleted]•

[deleted]

1
LuckySle7enSHD :SHD:•

You sir save my day!! THANKS YOU!!!!!!!

1
Axazlo•

Unable to rebind [F] (PTS) for modding items Just can't find proper KB_** tag for it...

Already tried: KB_UI_MOD KB_MOD KB_UI_MODIFICATION KB_MODIFICATION

Default KB_UI_F & KB_ACTION_3 not working in this case.

Any idea?

1
HandHunterOP•

Cant test since I don't have the PTS.

If they added a new keybind, try this:

Backup your current .keybind file and remove it from my documents, let it create a new file for you, and see if it adds new KB_ entries.

If not, you're gonna have to guess until you find it, if you even can change it still.

Can't help more than this I'm afraid.

1
Gouka•

KB_UI_SPACE and KB_UI_Space do not work, however KB_UI_ACCEPT does. I didn't verify that it rebinds all uses of the space key in the UI, but it fixed the ones I cared about.

1