Jump to content

Cant find input setting


Recommended Posts

I cannot find where to assign the comand for switching between staging mode and docking mode in the settings. I´d like to have that comand on my joystick somewhere, as people where advising this to access two different sets of axis assignements on the fly.

Surely this must be doable? Am I just temporarily blind?

Thanks in advance

Daf

Link to comment
Share on other sites

7 hours ago, pincushionman said:

I haven't been able to find that yet, myself, but I also hanen't looked very hard. But you may want to search settings.cfg for any instances of "dock"; there may be an unused hudden keybind in there somewhere.

Thank you, but what good is this if I want to assign it to a joystick???

If they did not make that particular comand available for joystick assignements it would be seriously messed up! I hope somebody finds it LOL

 

Link to comment
Share on other sites

It is true those settings aren't exposed in any of the tabs under Settings/Input (where I'd expect to find them). They correspond to the following within the settings.cfg file (in KSP root folder):

- UIMODE_STAGING (default primary key = Insert; default secondary = None);

- UIMODE_DOCKING (default primary key = Delete, default secondary = None).

Now, you have to find how Unity names the command on the joystick you wish to use (could be something like "Joystick0Button5", where 0 and 5 are the ID of the device and the button, of course those will be different in your case). A good way to do so would be to assign that command to another function with an exposed setting (in the Settings window) and read its value (directly or opening the settings.cfg file afterwards).

Then, you need to edit the value of the primary (or secondary) key in the section of the settings.cfg file corresponding to the mode, with the value for that Joystick command.

 

Link to comment
Share on other sites

2 minutes ago, diomedea said:

It is true those settings aren't exposed in any of the tabs under Settings/Input (where I'd expect to find them). They correspond to the following within the settings.cfg file (in KSP root folder):

- UIMODE_STAGING (default primary key = Insert; default secondary = None);

- UIMODE_DOCKING (default primary key = Delete, default secondary = None).

Now, you have to find how Unity names the command on the joystick you wish to use (could be something like "Joystick0Button5", where 0 and 5 are the ID of the device and the button, of course those will be different in your case). A good way to do so would be to assign that command to another function with an exposed setting (in the Settings window) and read its value (directly or opening the settings.cfg file afterwards).

Then, you need to edit the value of the primary (or secondary) key in the section of the settings.cfg file corresponding to the mode, with the value for that Joystick command.

 

Thank you. I´ll have to read that a couple times though, and try it when I have the game running. Right now it sounds a bit complicatet, cant really understand it, but I will get there. A bit like reverse programming a command, right?

So you say it will need to be 2 different comands? One to enter docking mode, and another one to exit it? Why, Squad, why? A "toggle docking mode" comand would have made a lot of sense too.

Anyway, thanks again. I´ll try to execute what you kindly explained later today.

Daf

Link to comment
Share on other sites

Just now, Dafni said:

Thank you. I´ll have to read that a couple times though, and try it when I have the game running. Right now it sounds a bit complicatet, cant really understand it, but I will get there. A bit like reverse programming a command, right?

So you say it will need to be 2 different comands? One to enter docking mode, and another one to exit it? Why, Squad, why? A "toggle docking mode" comand would have made a lot of sense too.

Anyway, thanks again. I´ll try to execute what you kindly explained later today.

Daf

Hasn't to be 2 different commands, I have other ones set as toggles so the same key switches between states (though, you need a joystick that is set so to send the command just once - instead of repeating it - for that to work). Squad made two different commands for those modes so to allow more customization. Indeed, may seem alike "reverse programming", you find what the command is named by assigning to another function, then use the name with the function you wish. Believe it won't be difficult when you have the opportunity to try, however just ask in case you need better info.

Link to comment
Share on other sites

On 7.1.2017 at 0:40 PM, diomedea said:

Hasn't to be 2 different commands, I have other ones set as toggles so the same key switches between states (though, you need a joystick that is set so to send the command just once - instead of repeating it - for that to work). Squad made two different commands for those modes so to allow more customization. Indeed, may seem alike "reverse programming", you find what the command is named by assigning to another function, then use the name with the function you wish. Believe it won't be difficult when you have the opportunity to try, however just ask in case you need better info.

Thank you. I can do it now, learned over the weekend how to modify the settings.cfg. Very handy thing to do indeed. Thank you very much for your help, I appreciate it a lot.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...