ndeadly / MissionControl

Use controllers from other consoles natively on your Nintendo Switch via Bluetooth. No dongles or other external hardware neccessary.
GNU General Public License v2.0
2.59k stars 141 forks source link

[Controller Request]: Ipega 9157 #844

Open zed787 opened 3 months ago

zed787 commented 3 months ago

Controller Name

Ipega 9157

Current Controller Behaviour

Controller is not successful in pairing with the console

Controller vendor and product ID

No response

Supported Features

Input Report Format

No response

Additional Details

Tried every sync mode but still not working

ndeadly commented 3 months ago

This might be another BLE controller. Come check out the #testing-ble channel of my discord server and see if the latest test build in there works.

zed787 commented 3 months ago

It does connect but inputs won't work

ndeadly commented 3 months ago

Then it needs to be whitelisted and possibly have a custom initialisation or input mapping added. Share the log it created on your sd card (sdmc:/mc-mitm.log)

zed787 commented 3 months ago

Here: mc-mitm.log

ndeadly commented 3 months ago

Seems it's using the same vendor/product id as the other ipega controllers, so it's already being detected. I think it's sending inputs on a different report that I haven't enabled though. Give this one a try. The mapping may be incorrect, but you might at least see a response to your inputs.

MissionControl-0.11.1-ipega9157-54e082c.zip

You've got something else showing up in the log under the name PXN-P30PRO. Is this another controller you own? If so we can add support for that too. It's better to open a new issue for that or continue on discord though.

zed787 commented 3 months ago

You've got something else showing up in the log under the name PXN-P30PRO. Is this another controller you own? If so we can add support for that too. It's better to open a new issue for that or continue on discord though.

Cool, okay I'll send the issue later because I have work to do

zed787 commented 3 months ago

it still won't work the inputs, I pasted and mergered the experimental ble and the file that you sent

ndeadly commented 3 months ago

What about this one? You don't need to worry about merging anything, this is based on the experimental stuff from the discord server. Just unzip, and overwrite whatever is already on your sd.

MissionControl-0.11.1-ipega9157-2de2695.zip

If that doesn't work, take a look with the hid_report_viewer app (linked in the controller request template) and see if there's any evidence of input data being sent

zed787 commented 3 months ago

Awesome bro it works, Definitely add my controller to the supported controllers for the BLE update, I'll add PXN-P30PRO too to the new issue, you saved me some bucks, thank you so much and I hope you don't stop updating and making this.

zed787 commented 3 months ago

Almost perfect tho but sometimes when I connect it, it does connect and disconnect itself, can you do about it? I have to restart my console every time when it does that as a work around

ndeadly commented 3 months ago

You can share the log for me to see why it gets disconnected, but otherwise yeah, the builds with BLE support are not flawless. That's why they're considered experimental and only available on my discord server. Otherwise I would release the changes.