hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.03k stars 2.15k forks source link

Controller Analog Stick input not detected. #12762

Open tchua0927 opened 4 years ago

tchua0927 commented 4 years ago

I am using a Nintendo Switch Pro controller, both over bluetooth and through USB, with the Windows 10 version of ppsspp.

Right now, the only input that is not being detected is the right input of the analog stick. It is not detected when I try to map the dpad input to it (the dpad works fine for input, but the analog stick is more comfortable and I would like the option).

I have tested the controller in Windows 10 controller settings, Steam and Steam controller games like Castle Crashers and Monster Hunter World, and games in Dolphin Emulation. There are no issues with those games systems.

unknownbrackets commented 4 years ago

Does it show at all in the "Test Analogs" section? This is found within the control mapping settings area.

When you map other buttons, or the left analog, how do they show up? For example, does it show "pad1.Y Axis-" or "x360.Z Rotation+"?

-[Unknown]

tchua0927 commented 4 years ago

Sorry for not getting back sooner.

So I tried out the "Test Analogs". It shows the right analog stick as being detected. Interestingly, this also shows the y-axis is inverted. This is also seen in Mapping as "up" on the analog stick is pad1.Y Axis- and "down" as pad1.Y Axis+. Also, still can't map right analog.

When mapping, the system treats it as P

unknownbrackets commented 4 years ago

So when you try to map the right analog stick, it shows that "P" is mapped?

Is it possible you have some software running (maybe even Steam) that is automatically mapping the right analog stick to keys for compatibility?

-[Unknown]

tchua0927 commented 4 years ago

Sorry, didn't notice I hadn't finished typing. I had closed Steam already. The controller is treated as pad1

ppmeis commented 3 years ago

Tested in latest build. It seems to fail detecting both analogs. When I move right analog stick appears AXIS 11 and AXIS 14:

image

But I tried to map right analog stick with buttons (MoH Heroes for example) and it works just fine: image

Tested with Xbox Series Controller.

unknownbrackets commented 3 years ago

The right analog preview only shows if something is mapped to the right analog stick down and right directions. It shows N/A when these aren't mapped to an axis.

-[Unknown]