libretro / libretro/RetroArch

Cannot distinguish multiple keyboards.

Open
#9,975 1 comment 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

Even though there are two keyboards connected to my computer, retroarch only sees one.

To reproduce
  1. Have two keyboards plugged in.
  2. Config > Input > User N Binds
Expected behavior

"User N Device Index" should be 0 or 1, with the ability to switch between. 0 for one keyboard and 1 for the other.

Actual behavior

It just says "Disabled".

Notes

It makes no difference whether I switch the input driver to udev and run as root.

Versions
$ pacman -Qi retroarch xorg-server | egrep 'Name|Version'
Name            : retroarch
Version         : 1.8.1-1
Name            : xorg-server
Version         : 1.20.6-3
$ uname -s -r -v -m -o
Linux 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux

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 issue with two keyboards and checking Config > Input > User N Binds on the reported Linux setup. Trace the input-device handling relevant to the disabled User N Device Index; done means both keyboards are detected and can be selected independently.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, 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.