libretro / libretro/RetroArch

Input always active

Open
#16,261 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

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
  1. Launch RetroArch
  2. click on another window
  3. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.