Input always active
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
Retroarch seems to be always reading my inputs, even if not the active window
Expected behavior
It only reads inputs when it's the active window
Actual behavior
It always reads inputs
Steps to reproduce the bug
- Launch RetroArch
- click on another window
- use the controller
Bisect Results
Occurs only on udev/sdl2 drivers. linuxraw and parport are unable to configure controllers as they don't seem to see button presses.
Results are identical between X11 and Wayland. Other software like Bizhawk does not show this behavior, indicating it's likely an issue with RetroArch.
Version/Commit
- RetroArch: 1.17.0
Environment information
- OS: Arch Linux
- Compiler: N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the focus-change steps on Arch Linux, then compare the udev and SDL2 input-driver paths under X11 and Wayland. Done means controller input is ignored while RetroArch is unfocused, while input still works when it is the active window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100