Project

General

Profile

Actions

Emulator Issues #12874

closed

Dolphin for android not registering full left or down control stick

Added by timeroar almost 2 years ago. Updated 12 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Android
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-18920

Description

Game Name?

Smash bros brawl

Game ID? (right click the game in the game list, Properties, Info tab)

RSBP01

What's the problem? Describe what went wrong.

No matter what controller and joystick i use, the emulater will only register down and left part way.
Moving to the end of the sticks range is nothing and moving it back will register part left again

What steps will reproduce the problem?

App was uninstalled, reinstalled and still has the problem

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Current play store

Is the issue present in the latest stable version?

Yes

What are your PC specifications? (CPU, GPU, Operating System, more)

Samsung s20+ android exynos

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

I noticed the problem after using cheats


Files

Actions #1

Updated by JosJuice almost 2 years ago

Can't reproduce. Can you show how you've mapped the controller, which controllers you've tested, and which games you've tested?

Actions #2

Updated by timeroar almost 2 years ago

JosJuice wrote:

Can't reproduce. Can you show how you've mapped the controller, which controllers you've tested, and which games you've tested?

Ive tried two controllers on both their joysticks with the same result, one is an ipega 9121, the other 8bitdo fc30 pro

Im only having it of rsbp01 and it seems to be mostly the menus that are affected,
I think it started after i used this gecko code

4A000000 8077A780
D2000000 00000004
2C030000 41820010
2C1C010C 40820008
3B80010F 60000000
939E0038 00000000
E0000000 80008000
4A000000 81000000
145D62D8 00000028
E2000002 80008000

But seems to persist after i uninstalled

Actions #3

Updated by JosJuice almost 2 years ago

  • Operating system Android added
  • Operating system deleted (N/A)
Actions #4

Updated by golivax over 1 year ago

I think this is the same issue as #12874. Apparently several 8bitdo controllers are read by Android as an XBox One controller (vendor id 045e and productid 02e0).

The helper class Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/ControllerMappingHelper.java ends up applying the axis rescale fix even though it shouldn't.

As a result, the control stick cannot be properly mapped.

More info about this problem is also being discussed in PR 10795 on GitHub.

Overall, this axis scale issue seems complicated to solve. Some specific XBox controllers require the rescaling and others don't. This might also be influenced by the firmware version of the controller and possibly even the Android version.

IMHO, the ideal solution here would be to have Dolphin ask the end user to move the stick to the left AND to the right. Then Dolphin could see if the range being read is -1 (+ some epsilon) to +1 (- some epsilon). If the range is different than this (such as the one reported by some XBox One and Dualshock controllers), than Dolphin could apply the scale fix in the fly, automatically. Another option is to never apply scale fixes and let the user select this fix in the UI in case he's not able to map the controller. Anyways, my 2 cents... Hope this helps

Actions #5

Updated by golivax over 1 year ago

Sorry, meant to say issue #12711

Actions #6

Updated by golivax over 1 year ago

Actions #7

Updated by JosJuice about 1 year ago

Could you test if this is working properly in the input overhaul pull request?

Pull request: https://github.com/dolphin-emu/dolphin/pull/11385
APK: https://dl.dolphin-emu.org/prs/b0/82/pr-11385-dolphin-latest.apk

Actions #8

Updated by JosJuice 12 months ago

  • Fixed in set to 5.0-18920

This should be fixed in https://dolphin-emu.org/download/dev/62ff2f1030ae95ac0e5bf9ae02e9cc78664ab83e/. If it isn't, please comment here and I can reopen the issue.

Actions #9

Updated by JosJuice 12 months ago

  • Status changed from New to Fixed
Actions

Also available in: Atom PDF