libretro / libretro/RetroArch

Removing mapping for keyboard remove controller mapping too and an hotkey issue

Open
#16,283 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Have an error in inputs happening in recent version 1.17.
I have used Retroarch for more than an year not happening the issue below.
Ubuntu 20.04.6 input using udev and PS4 DS4 controller.

Using Controller Autoconfig option enabled if the user want map button only for gamepad controller only need in input bind press keyboard key delete in each input so only will read input from controller and the GUI show each button option being the controller button without errors in gameplay.
In 1.17 doing that same action the GUI show each button option only being the controller, but without input from controller. If press delete want remove keyboard key for each button is removed both keyboard key and controller key. The temporary solution is press delete for each button and after manually configure each button bind for gamepad controller so breaking autoconfig controller option.

Is as if now pressing delete internally remove all mapping for each button and the GUI show error message having mapping for gamepad controller.
Also if pressing delete for each controller button want to remove keyboard key break all hotkeys.
Another error is never was possible configure in hotkeys "menu toggle" for only keyboard key. Always is used an button in gamepad controller. If using PS4 DS4 controller that hotkey "menu toggle" will be the controller button "PS guide", but i not want that hotkey using that controller button. I want use controller button "ps guide" for other action or hotkey. The temporary solution is edit manually retroarch.cfg with an other number
input_menu_toggle_btn = "99"

Now is possible use the controller button "ps guide" for other hotkey.

Thanks for reading my topic.
Have an nice next week.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior described with RetroArch 1.17 on Ubuntu 20.04.6 using udev and a PS4 DS4 controller, focusing on Controller Autoconfig, input binds, and hotkeys. Review the relevant input and hotkey handling, including the retroarch.cfg setting input_menu_toggle_btn; done means removing a keyboard mapping preserves the controller mapping and allows a keyboard-only menu toggle without breaking other hotkeys.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.