Project

General

Profile

Actions

Emulator Issues #12293

closed

(Android) Controller axis issue with 8bitdo SN30P+ in Xinput

Added by primalscreen over 3 years ago. Updated about 1 year 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

Not a game specific issue.

Dolphin for Android appears to have some issues with correctly reading gamepad axes of the 8bitdo SN30 Pro+ in Xinput mode on Bluetooth. Specifically, all directions on the right stick are read as either Axis 14+ or Axis 11+. This affects both the GameCube input mapping screen as well as emulated gameplay -- manually editing INI with the proper values causes the C-stick to always be pushed in-game. Left stick works fine. Other games, emus, and gamepad test apps have no issue reading this input, so it's unlikely to be a controller issue.

Notably, switching the controller to Dinput mode fixes the issue. However, Dinput mode doesn't support analog triggers, so that's not a good workaround for many games.

Controller is not recognized by the device at all in wired Xinput mode. Controller works correctly in wired Dinput mode. No help there.

Issue could presumably be reproduced easily, but I don't have additional devices or controllers to test.

Device is a OnePlus 7T on OxygenOS 10. Controller is updated with latest firmware (v4.0.2 from 8bitdo).

Issue exists in Play Store release 5.0-12716 as well as several older releases that I tested, including the previous release 5.0-12247.

Attempted to include a Pad log but it was not generated by Dolphin. If I'm doing something wrong, maybe someone can guide me through the process of creating a proper log.

Actions #1

Updated by JosJuice over 3 years ago

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

Updated by mikerogerz about 3 years ago

Can confirm that this exact issue happens to me as well.

I'm using the same controller (8bitdo SN30 Pro+ in Xinput mode), using the latest v5.0 firmware. Tested on Dolphin 5.0-13178.

Actions #3

Updated by benjaninja about 2 years ago

mikerogerz wrote:

Can confirm that this exact issue happens to me as well.

I'm using the same controller (8bitdo SN30 Pro+ in Xinput mode), using the latest v5.0 firmware. Tested on Dolphin 5.0-13178.

benjaninja wrote:

I created an account just to say this is happening to me as well, on 8bitdo SN30 Pro Xinput mode, on latest version of Dolphin as of Feb 2022 on play store, v. 5.0-15445, Android 12/Pixel 6.

When testing X input in a gamepad tester app, the right analog stick registers directional inputs correctly. This issue is only in Dolphin emulator so far

Actions #4

Updated by benjaninja about 2 years ago

I created an account just to say this is happening to me as well, on 8bitdo SN30 Pro Xinput mode, on latest version of Dolphin as of Feb 2022 on play store, v. 5.0-15445, Android 12/Pixel 6.

When testing X input in a gamepad tester app, the right analog stick registers directional inputs correctly. This issue is only in Dolphin emulator so far

Actions #5

Updated by benjaninja about 2 years ago

Also I don't know how to add comments/edit comments in forums, sorry about the duplicate comment.

Actions #6

Updated by Kitocco almost 2 years ago

I also just made an account to say I'm also having this issue with my SN30 Pro+ connected to my Samsung Galaxy S22 Ultra in Xinput mode, the only mode on this controller with a full feature suite (rumble, analog triggers). I have even tried manually setting the Axis to the missing negative values that never get registered in the Dolphin.ini settings file to no avail.
When I spoke about it on the forums, I was told on the forums:
"that input handling on the Android port is a bit rough at the moment as it uses a separate (and outdated) code path in relation to the main PC/Mac ports"

For other reference, when I use the Duckstation Android port, it registers each stick input by axes wather than individual directions.
And in the original 8bitdo Android app (the one with the white icon before it was removed from the Play Store), it not only connects but reports accurate stick position on the right stick as I move it around.

Actions #7

Updated by JMC4789 almost 2 years ago

All I can tell you is that Jos is working on an input rewrite, and things should work better once it's done. It's a long time in the works but hopefully it'll bring Android up to snuff with desktop builds.

Actions #8

Updated by Kitocco almost 2 years ago

JMC4789 wrote:

All I can tell you is that Jos is working on an input rewrite, and things should work better once it's done. It's a long time in the works but hopefully it'll bring Android up to snuff with desktop builds.

Oh, that's neat! Thank you, hopefully I'll find some place to thank Jos myself someday.

Actions #9

Updated by JosJuice over 1 year ago

The input rewrite is now here. Could you test if this is working in it?

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 #10

Updated by JosJuice about 1 year ago

  • Status changed from New to Fixed
  • 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

Also available in: Atom PDF