Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.3.0
Issue ID
ISXB-120
Regression
No
[Input System] [Android] Nintendo Switch Pro controller's inputs do not work when connected to an Android device
Reproduction steps:
1. Download and open the attached project: "SwitchProController_TriggerIssue.zip"
2. Go to Edit > Build Settings and change the build target to Android
3. Connect a Nintendo Switch Pro controller to an Android device
4. Enable Developer Build and Auto Connect Profiler in the Build Settings
5. Deploy to the Android device via the Build and Run option
6. Press the ZL and ZR trigger buttons and notice their values in the Editor Console do not change
6. In the Editor navigate to Windows > Analysis > Input Debugger
7. In the Input Debugger navigate to Remote Devices... > AndroidPlayer(ADB@IP) > Remote > AndroidJoystick
8. Press the ZL and ZR trigger buttons again
Expected result: The ZL and ZR trigger buttons are detected without issue
Actual result: The ZL and ZR trigger buttons are not detected
Reproducible with: Input System 1.3.0 (2019.4.39f1, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1, 2022.2.0a12)
Reproduced on these devices:
----------, Oneplus OnePlus 8 Pro (IN2023), Android 12, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
Could not test with these devices due to not being able to connect the controller:
VLNQA00134, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00025, Xiaomi Mi 5s (MI 5s), Android 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00112, Htc M9 (HTC One M9), Android 7.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
Notes:
- On the device which reproduced the issue, none of the controller's buttons worked (ZL, ZR, buttonSouth, buttonNorth, etc.)
- The original report said that the Nintendo Switch Pro controller is recognized as "AndroidGamepadWithDpadAxes" in the Input Debugger, while it was recognized as "AndroidJoystick" during testing
- The controller seemed to not work throughout the Android system at all, even though it did show up as connected and the particular device should support the controller
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Nintendo Switch Pro gamepad is not supported on Android https://docs.unity3d.com/Packages/com.unity.inputsystem@1.3/manual/SupportedDevices.html