RetroArch should provide a way to unbind keys

Created on 15 Dec 2015  Â·  25Comments  Â·  Source: libretro/RetroArch

I'm sure this must be a popular request, but I wasn't able to find anything on the issue tracker. In any case, there needs to be a way to remove bindings other than digging into retroarch.cfg. Aside from the Windows key bug (#2564), unbinding keys I've changed my mind about has definitely been the most frustrating part of my RetroArch experience thus far.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

enhancement

Most helpful comment

Hbbubbub b . I . mbybbbbhbbyhbhvmbnhbhbubbbbynubbhbjby7hbb hbnbubh ubbuuhbb
6bhbnbubbunmhbhbbubjh5bjbhbn the same
buhbbbbubbuhbbuujbhjubjbbbbubgjbbbbyntvbyhhbhbhhbbbumbbuybjhunubbbbbnuj
nbbhmbhjbhb6mubhubhb6vhhnb bb7hubhubbubububbbbhbhbhhbhbjhbnukuum7v . and
this I jkooombmmnjhk and i

All 25 comments

I find this frustrating also. It would be nice if clicking on something with the mouse could remove a keybind. Or instead of pressing menu_ok you could press the "y" button, since it has zero use in the menu. It isn't even in the .cfg as a menu_(function)_btn. So I'd like to see in the future a "delete" button option:

menu_ok_btn = "8"
menu_cancel_btn = "0"
menu_delete_btn = "1"
menu_search_btn = "9"
menu_info_btn = "2"
menu_default_btn = "3"
menu_scroll_down_btn = "11"
menu_scroll_up_btn = "10"

Using the start button doesn't reset the binding?

it resets to default, doesn't unbind

On Mon, Dec 14, 2015 at 10:41 PM, Jean-André Santoni <
[email protected]> wrote:

Using the start button doesn't reset the binding?

—
Reply to this email directly or view it on GitHub
https://github.com/libretro/RetroArch/issues/2566#issuecomment-164636140
.

Start = reset is news to me. I tried all my gamepad buttons when I was trying to unbind "menu toggle" (which was already at its default at the time), so it never occurred to me to run through the buttons again on any other binding. Good to know. Start seems like a weird choice (why not Back?), and this doesn't diminish the need for an unbind key, but good to know.

Being able to unassign the hotkey would be much more useful than resetting it to the default, IMO. But ideally I wouldn't have to manually edit the config file to do either.

We have discussed long press "start" to reset.
No decisions yet though.

I was going to report this issue when I found this. Yes, I agree. Retroarch should let the user unbind assigned keys.
Also, Retropad 1 is always bound to keyboard and if you reassing any joystick key it will add that key but not unbind the keyboard key, so both keys end up with that bind. This brings some problems, ie. if you want the second player to use the keyboard and player 1 the joystick.
I think that there should be two different separate configs: one for the retroarch menu navigation and another one for retropad user 1, even if in some cases they end up having the exact same binding, this is not always the case.

Still no way to clear, seriously, still have to edit config file manually?

yes

And seems in the latest nightlies even the "Start to reset" isn't working, pressing start on a binding just prompts for a new assignment now.

I'd be happy even without any UI functionality, being completely unable to unbind keys even by editing the configuration files is frustrating.
e: nvm, I incorrectly assumed changing a binding to an empty string or nul would unbind it, but it seems it needs to be set to a nonexistant input name to effectively unbind.
e: aaaand of course this only works for a select few bindings. There seems to be no way to completely unbind "Fullscreen toggle", for instance.

Hi there,

I implemented this now -

https://github.com/libretro/RetroArch/commit/e75633064a1a17249baa40cb5ee954f11b144001

Press Y button to 'clear'/'unbind'.

Does this apply to the android version as well? On the latest nightly, it looks like hitting X on my Shield Portable does clear out any assigned key, but it still brings back the default "Auto Assigned" value. I was trying to unbind the volume button from opening the menu but I can't seem to unbind auto set inputs.

Works great on the Wii U, didn't know about that ! Great solution :)

I think there might be a problem with how this is implemented, at least on Linux. Pressing Y does cause keys to unbind, but if it's a controller button, and you have an autoconfig profile for that controller, instead of going to null, it goes to Auto:

Amazing @twinaphex - somehow you implemented the unbind key but on android it unbinds the keyboard hotkey, I want it to unbind the hotkey from select/back button which you guys KNOW is used by SNES, NES, and I am pretty sure quite many other game systems, while you also provide few combos like L3+R3 which work much better. Android version should not have back - BACK BUTTON ALONE mapped to this feature as it can be highly intrusive to gameplay and you seemed to already figure out few much less intrusive options. Only reason I can think the bind is there is for those USB SNES pads or similar retro USB pads but then you should let user figure out best mapping or shortcut (like L R down Y) or whatever.

And yeah, what @isugimpy said, I agree.

Well, I am not mad, I am just trying to use a Shield Tablet in awesome way (being portable TV connectable Nin Switch of Emulation, retro games and stuff)

Hbbubbub b . I . mbybbbbhbbyhbhvmbnhbhbubbbbynubbhbjby7hbb hbnbubh ubbuuhbb
6bhbnbubbunmhbhbbubjh5bjbhbn the same
buhbbbbubbuhbbuujbhjubjbbbbubgjbbbbyntvbyhhbhbhhbbbumbbuybjhunubbbbbnuj
nbbhmbhjbhb6mubhubhb6vhhnb bb7hubhubbubububbbbhbhbhhbhbjhbnukuum7v . and
this I jkooombmmnjhk and i

Broken. Clears keyboard key but not gamepad key. Also clears the entry below your highlighted selection instead of the highlighted selection.

Hmmm, actually you might be onto something, it works fine in input hotkey binds, but not on user input binds.

It won't clear autoconf binds, that's perfectly fine. If you don't want autoconfs... well disable them. Even if it cleared them for you it would set them AGAIN once content is loaded or you add another gamepad.

I'll fix the offset value. It's hardcoded to 6 and there are 7 entries now

when I turn autoconfig off, gamepad no longer works. I also can't use keyboard keys for confirmations.

Obviously, if you turn autoconfig off you have to configure the pad
manually, that's the whole idea

On Thu, Sep 21, 2017, 3:39 AM shinra358 notifications@github.com wrote:

When I turn autodetect off, controller doesn't work.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/libretro/RetroArch/issues/2566#issuecomment-331091418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABpC0K99sCpILf7hw6J2rGvstjn_JtjEks5skiDTgaJpZM4G1Uqa
.

how, when the controller has no buttons to begin with in order to do that? once upon a time, it never use to work like this. the dpad, confirm, and back buttons should at least be mapped so that it can still be done with a controller. this is the most complicated controller mapping system Ive ever seen.

I just want to remove the turbo buttons and empty the shoulder buttons for nestopia. post a snippet in the config to mimmick that and that's all i need. I want square to be B and x to be A :P Then I'll be out of your hair.

Hello guys!

The quick solution I found that did not require manual editing was to bind any key you don't want to use by mistake to the same button as the "Exit" key.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alki-apps picture alki-apps  Â·  3Comments

parkerlreed picture parkerlreed  Â·  3Comments

rrooij picture rrooij  Â·  3Comments

ghost picture ghost  Â·  3Comments

sergiobenrocha2 picture sergiobenrocha2  Â·  4Comments