libretro / libretro/RetroArch

Windows: no rumble with Switch Pro Controller

Open
#13,877 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

The Switch Pro Controller fails to rumble in Windows (RetroArch log console reports [WARN] [SDL]: Couldn't open haptic device of the joypad #0: Haptic: There are 0 haptic devices available)

Expected behavior

I expect the controller to rumble when appropriate, as it does in, for example, mGBA standalone.

Actual behavior

The controller isn't even identified as capable of rumble.

Steps to reproduce the bug
  1. Sync Switch Pro Controller to Windows
  2. Launch RetroArch from command line with -v
  3. Change controller driver to sdl2 and restart RetroArch
  4. Observe above-mentioned warning
Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.10.3/d0ef0ec
Environment information
  • OS: Windows 10 Home x64
  • Compiler: MinGW (10.2.0) 64-bit

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 examining RetroArch's SDL2 controller and haptic handling, using the verbose launch steps with a Switch Pro Controller on Windows 10. Confirm the warning about zero haptic devices and compare behavior with the sdl2 driver. Done means the controller is recognized as rumble-capable and rumbles when appropriate.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.