-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select and Start buttons are not working on Razer Serval #10228
Comments
Even if they both show up as "??" they should still behave distinct. Did you try it, and do you really see both the on screen buttons being pressed when you only press one of them, if you map them separately? That said, we could definitely improve how unknown buttons are displayed. |
They do, on PPSSPP it's like they're the same button at all but they're not. As far as I understood the problem, the app needs to differentiate both buttons by setting their own values. I know it may be way too hard(or impossible) without actually having the controller in hands to debug but I'll do my best to help. I've got that "possible workaround" from here: http://forums.ppsspp.org/showthread.php?tid=16801 I've uploaded two screenshots on how both emulators mentioned on that link manages the Start and Select buttons. |
PPSSPP on SDL platforms is using gamecontrollerdb.txt, so as long as the gamepad get's added, it should simply work without even remapping, there's no reason for any weird hackery. We just need an interface for adding new mappings to that file or some solution that doesn't care about providing human-readable input. Otherwise you have to use third party tools like SDL2 ControllerMap - which exists for all SDL platforms, but migt not even be shared in binary form;p. The reason why we even have gamepad related problems for soo long is because there are practically no contributors from the affected platforms that would care to improve things, that's really all there is to it ~ open source + lazy community;]. |
This is Android - not using SDL. pad1.00? means the keyCode is 0. Which makes sense, given this snippet:
So basically, it needs us to pay attention to -[Unknown] |
Sorry then, always assumed PPSSPP uses SDL everywhere outside of windows. |
Did you guys find any solution because this issue is not only restricted to one app but all, I even tried a game on my shield tv (Tomb Raider Android version) and the buttons don't work. I tested it with game controller mapper and both work but both are 0. |
What happens?
When using the BT Controller Razer Serval, Start and Select inputs shows up as "btn.??" meaning it could be used by both since both are "unknown buttons".
What should happen?
Other emulators fixes this by binding Select as "314" and Start as "315" so they no longer would be considered being the same button as long as ignoring the back button as seen in:
and
What hardware and operating system are you running PPSSPP on? GPU might matter if it's a graphical issue.
I'm on a Nexus 6P running Android Oreo 8.1.
The text was updated successfully, but these errors were encountered: