RetroPie / RetroPie/RetroPie-Setup

mupen64plus ps3 controller never reconnects if disconnected during game

Open
#2,246 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
10.4k
Forks
1.4k
Avg merge
2d 12h
Merged PRs (30d)
11

Description

if controller disconnect during game due to timeout or out of battery, sixad will not fully disconnect the controller and it never be reconnected.

a dirty workaround

hciconfig hci0 reset

before game loading in runcommand-onstart.sh but need fixed joy config (mode 0) and the hotkeys in mupen64plus.cfg stop working after reconnecting controller.

ex:
this stop working after reconnect
Joy Mapping Stop = "J0B16/B3"

when using wildcard, it work after reconnect but wildcard can't be used with hotkeys
Joy Mapping Stop = "J*B16"

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 a PS3 controller disconnect during a game and compare the workaround in runcommand-onstart.sh with the normal sixad behavior. Check how the reconnect affects the mappings in mupen64plus.cfg, especially Joy Mapping Stop, and verify that the controller reconnects with mode 0 while explicit hotkeys continue working.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.