Jump to content

How to clear a keybind?


Recommended Posts

I don't really care to have manage consumables / research / roles / etc bound to keys, how to unbind those entirely? I tried clicking the keybind and pressing Esc but that didn't work. I just rebound R to rotate but I noticed it was still bound to research, too. Should auto unbind to avoid conflicts.

Link to comment
https://forums.kleientertainment.com/forums/topic/91437-how-to-clear-a-keybind/
Share on other sites

A key that is already bound will unbind. If there is a conflict. Build A2-269773. So in order to unbind you can follow these steps.

Take a common key like Pan Up from the Global Tab. That is bound to W.

Go to the key you want to unbind and bind it to W. You will see a message about conflicts and Pan Up will be bound to None.

Switch back to the Global Tab and rebind Pan Up to W. The same message will appear and the other key will now be unbound.

Repeat for other keys you wish to clear.

 

Also after performing some rebinding a file called keybindings.json will appear in Documents\Klei\OxygenNotIncluded

If you open this with a text editor and can parse the properties you might be able to manually edit. See how I have been binding and unbinding.

Take note of mKeyCode and mAction fields.

[  
   {  
      "mButton":"NumButtons",
      "mKeyCode":"None",
      "mAction":"PanUp",
      "mModifier":"None"
   },
   {  
      "mButton":"NumButtons",
      "mKeyCode":"W",
      "mAction":"ManageConsumables",
      "mModifier":"None"
   },
   {  
      "mButton":"NumButtons",
      "mKeyCode":"Tab",
      "mAction":"ManageResearch",
      "mModifier":"None"
   },
   {  
      "mButton":"NumButtons",
      "mKeyCode":"None",
      "mAction":"CycleSpeed",
      "mModifier":"None"
   }
]

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...