Open mickael28 opened 2 years ago
It should work in Switch Pro mode. Some people have reported that if the controls don't work when you first pair, rebooting the Vita can fix it.
I read the comments about the reboots and tried for many times in both modes (switch mode and android mode) but they keep behaving the same way:
On a side note, I managed to get the vid/pid for both modes and the switch mode is the same you've got in your config, so no idea why it doesn't end up working :S
For the android one, I commented out the failing lines when running make
as they seemed to be about battery and motion sensors for now, added the Android vid/pid as a SwitchProController
too but that didn't work either. In this case, the controller was still detected as a PG-SW025
and buttons not responding either.
controller.cpp
...
DECL_CONTROLLER(0x057E, 0x2009, SwitchProController);
DECL_CONTROLLER(0x1949, 0x0402, SwitchProController); //I put this randomly to see if it worked with the ipega-sw025, as I didn't know how to modify anything else
Do you think there's something else we can try with how these 2 modes are behaving now?
These are the details I get when checking how the connection appears on an Android device:
Switch Mode:
I: Bus=0005 Vendor=057e Product=2009 Version=0001
N: Name="Pro Controller"
P: Phys=
S: Sysfs=/devices/virtual/misc/uhid/input15
U: Uniq=25:63:93:00:07:4E
H: Handlers=event11
B: PROP=0
B: EV=1b
B: KEY=ffff0000 0 0 0 0 0 0 0 0 0
B: ABS=ffffff00 3001b
B: MSC=10
Android Mode:
I: Bus=0005 Vendor=1949 Product=0402 Version=011b
N: Name="PG-SW025"
P: Phys=
S: Sysfs=/devices/virtual/misc/uhid/input13
U: Uniq=25:63:93:00:07:4E
H: Handlers=sysrq mouse1 event11 sec_debug keychord
B: PROP=0
B: EV=12001f
B: KEY=4837fff 72ff32d bf544446 0 ffff0000 70001 30f90 8b17c007 ffff7bfa d9415fff febeffdf ffefffff ffffffff fffffffe
B: REL=143
B: ABS=1 30627
B: MSC=10
B: LED=1f
There's no way it will work in Android mode right now; a new driver would have to be written specifically for it. In Switch mode, I don't see any reason why it wouldn't work. My real Switch Pro Controller works fine, and it must be using the same protocol or else it wouldn't work on a Switch. Unfortunately, there's not much I can do to help since I don't own the controller myself.
Thanks mate, it looks pretty weird indeed as the vid/pid seem exactly the same and yeah, it works fine on the Switch.
I'll keep looking into it for a few weeks and will update the thread for future reference if I manage to have it working, although as you said, it doesn't seem an obvious issues.
Thnk u!
Hello,
Awesome plugin, I almost got it working with this
iPega-SW025
controller, which can act as either: http://ipega.hk/switchseries/75-377.htmlI tried this plugin in those 2 statuses and I get the following:
As I get the
green
connected status in both cases, it seems we're almost there having this controller working too.Do you guys, @Hydr8gon @Lemon-2333 , know what the issue could be?
Could you pls help me out trying to understand what I could do from my end to have this working?
I could provide you with anything you need from my end to help troubleshooting the problem if you could help, or if you know of any local changes I could try on my side and try a new plugin after your suggested changes, I could give that a go as well.
Really willing to have this working for so long!!!
Thank you guys.