Skip to content

Replay Menu forces controller reconfiguration on every load #339

@rhester72

Description

@rhester72

Describe the bug
Each time Replay Menu loads for the first time (i.e. after restart), it forces reconfiguration of the controller. Debug log output (culled down to just what relates to the controller):

[INFO] [SDL] Loaded 716 Linux SDL controller mappings. 
[INFO] [SDL] Loaded 7 custom Linux SDL controller mappings. 
[INFO] [SDL] Loaded 0 user Linux SDL controller mappings. 
...
[INFO] [SDL] Loaded 1 Linux SDL controller mappings. 
[INFO] [SDL] Loaded 0 custom Linux SDL controller mappings. 
[INFO] [SDL] Loaded 2 user Linux SDL controller mappings. 
...
[INFO] [CORE] Setting default port 0, user core input type 1
[INFO] [LRCORE] Plugging device 1 into port 0.
[INFO] [CORE] Setting default port 1, user core input type 1
[INFO] [LRCORE] Plugging device 1 into port 1.
[INFO] [CORE] Setting default port 2, user core input type 1
[INFO] [LRCORE] Plugging device 1 into port 2.
[INFO] [CORE] Setting default port 3, user core input type 1
[INFO] [LRCORE] Plugging device 1 into port 3.
[INFO] [CORE] Setting default port 4, user core input type 1
[INFO] [LRCORE] Plugging device 1 into port 4.
[INFO] [CORE] Setting default port 5, user core input type 1
[INFO] [LRCORE] Plugging device 1 into port 5.
...A clear and concise description of what the bug is.
[WARNING] [CORE] Cannot copy input descriptors - none available
...
[INFO] [SDL] Joystick added (+):
[INFO] [SDL]   Sony PLAYSTATION(R)3 Controller connected in port 0
[INFO] [SDL]   Controller layout: PlayStation
[INFO] [SDL]   Device Id: 2, Product Id: 616 (v33041), Vendor Id: 1356, Serial Id: (null), Firmware v0, Path: /dev/input/event12, GUID: 0300afd34c0500006802000011810000
[INFO] [SDL]   Total controllers connected: 1
[INFO] [SDL]   Mapping loaded: 0300afd34c0500006802000011810000,Sony PLAYSTATION(R)3 Controller,dpup:b13,dpdown:b14,dpleft:b15,dpright:b16,back:b8,start:b9,b:b1,a:b0,y:b2,x:b3,leftshoulder:b4,rightshoulder:b5,lefttrigger:a2,righttrigger:a5,leftx:a0,lefty:a1,rightx:a3,righty:a4,leftstick:b11,rightstick:b12,guide:b10,platform:Linux,crc:d3af,
[INFO] [SYSTEM] Loading input configuration
[INFO] [LRCORE] Plugging device 1 into port 0.
[WARNING] [CORE] Cannot copy input descriptors - none available
[INFO] [SDL] Joystick added (+):
[WARNING] [SDL] The attached controller "Unknown" is not supported
[INFO] [SDL] Starting controller mapper
[INFO] [SDL] Controller added (+):
[WARNING] [SDL] Device already added, skipping
[INFO] [SDL] Controller remapped
[INFO] [SDL] Controller remapped

To Reproduce
Steps to reproduce the behavior:

  1. Restart Replay Menu with a pre-configured controller
  2. ReplayOS will prompt "PRESS FOR DPAD UP"

Expected behavior
The prior controller configuration to be loaded and used without prompting for controller mapping

Setup:

  • Device: Raspberry Pi 500
  • OS version: v1.7.0
  • Storage: USB
  • Power adapter: Raspberry Pi official

Metadata

Metadata

Assignees

Labels

hardwareExternal hardware related issueissueSomething isn't working but it is not a bug

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions