libretro / libretro/RetroArch

Rumble and controls Xbox one S and Amazon Luna joypad way bluetooth

Open
#17,504 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

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

System: Debian 11 amd 64, linux kernel 6.1, libsdl2 v2.30.11

Bluetooth: tp-link cpi express Wifi6 + bluetooth v5.2

RA version: 1.20.0 last commit.

Compilation: GCC 10

Problem: Rumble not works way bluetooth.

Expected behavior

The problem I have is with the Xbox one S gamepad and Amazon Luna. They work fine via cable, both rumble and controls, especially in udev.

The problem is with bluetooth, if I charge the controllers via udev it is impossible for me to calibrate the sticks, the recognition is totally unbalanced to the point of not recognizing some directions, but the rumble works fine, at least on the xbox controller.

On the luna controller neither the sticks nor the rumble work well, and some buttons overlap, something that does not happen with cable.

However, if I choose the controller driver via SDL2 (in whose code there is support for the luna controller vibration) the xbox controller seems to work correctly via bluetooth, at least there are no problems with the buttons, but some rumble motor seems to fail.

The Luna controller in the only mode that works well via bluetooth is way SDL2, with the other controls it has duplicate buttons, but there is no way for the rumble to work. I understand that the sdl2 joypad code would have to be updated.

Steps to reproduce the bug
  1. Connect gamepads way wire and test in pcsx rearmed with padtester 1.1 elf, all works fine.

  2. Same that stip 1 but way bluetooth, problems in the button, in SDL2 drivers buttons works, but not rumble in luna gamepad.

Version/Commit

1.20.0

Bisect Results

No response

Present in the nightly version

Yes, this is reproduced in the nightly build

Platform & operating system

Linux debian 11 amd 64 kernel 6.1

Affected Cores

Alls

Environment information

Sdl2 version 2.30.11

Relevant log output

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 with the SDL2 joypad code, since the issue identifies it as the path where the Luna controller works over Bluetooth but lacks rumble. Reproduce the behavior on Debian 11 with the Xbox One S and Amazon Luna controllers using the listed wired and Bluetooth steps, then verify button mapping, stick calibration, and rumble for both controllers.

Written by the indexing model from the issue text.

Assessment

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