Page 1 of 1

Dual key binding

Posted: Sun Jun 18, 2017 12:21 pm
by SmEgHeAd89
Simple idea:

Two input boxes for each control binding.
I'm just a part of that group of people that likes to keep the default key when using mouse buttons for commands (until I find a better use for the original key).

Example:
Q is Clear cursor, I’d like to be able to make it Q and mouse x

Also, I tried editing the config.ini e.g. "clean-cursor=Q, mouse-button-4" (with and without the comma) but it kept resetting it.

Love the game,
Smeghead.

Re: Dual key binding

Posted: Tue Jul 18, 2017 8:54 pm
by ssilk
Added to viewtopic.php?f=80&t=307 Gamepad/controller support (also keybinding)

Re: Dual key binding

Posted: Wed Jul 19, 2017 8:00 am
by bobingabout
Multiple keybinds for the same function is not uncommon in games, it is actually often used in games with Joystick support, the aim so that you can use a keyboard key, or the joystick without having to change the keybinds every time.

Being able to have some sort of List in the config would be a good idea, however, as someone who knows a fair bit about INI formatting... it's not really designed for it. I remember when writing my own INI Parser (from the ground up, it worked pretty well too) I had to make all kinds of extras into it to account for lists.