libretro / libretro/RetroArch

Linuxraw in Ubuntu MATE 24.04 identifies Sony DualSense and Sony Dualshock 4 v2, but not Nintendo Switch Pro Controller

Open
#16,910 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
  • Linuxraw in Ubuntu MATE 23.04, and 22.04 identifies all three controllers.
  • Linuxraw in Ubuntu MATE 24.04 identifies Sony DualSense and Sony Dualshock 4 v2, but not Nintendo Switch Pro Controller
Expected behavior

Nintendo Switch Pro Controller should be identified

Actual behavior

Screenshot at 2024-08-22 02-26-44
Screenshot at 2024-08-22 02-27-44

Steps to reproduce the bug
  • Run Ubuntu MATE 24.04 in live mode or ideally install it[1]
  • Change the controller profile directory so you can use "Save Controller Profile" later.
  • Navigate to Settings -> Drivers -> Controller, and select "linuxraw".
  • Connect a Nintendo Switch Pro Controller via USB[2]
  • Restart RetroArch to apply the new setting.
  • Go to Settings -> Input -> RetroPad Binds -> Port 1 Controls, and click on "Save Controller Profile".

1: The Flatpak package cannot be installed in live mode, and linuxraw cannot be used as virtual machine by QEMU
2: I could not connect it over Bluetooth in Ubuntu MATE 24.04 in live mode, even if this was possible in Ubuntu MATE 23.04, and 22.04.

Version/Commit
  • RetroArch: 1.19.1
Environment information
  • OS: Ubuntu MATE 24.04

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 controller profile flow in Ubuntu MATE 24.04: select Settings → Drivers → Controller → linuxraw, connect the Nintendo Switch Pro Controller by USB, restart RetroArch, and save the Port 1 controller profile. Compare the result with Ubuntu MATE 22.04 or 23.04; done means the Nintendo controller is identified and its profile can be saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.