kozec / sc-controller

User-mode driver and GTK3 based GUI for Steam Controller
GNU General Public License v2.0
1.54k stars 129 forks source link

Pairing controllers #51

Open MayeulC opened 8 years ago

MayeulC commented 8 years ago

Hello,

I would have liked to pair a new controller to a dongle, but wasn't able to do so. Maybe the functionnality is present, but I didn't find it. Has the data packet required to put the dongle in pairing mode been reverse-engineered? If so, are there any plans for integrating this functionnality?

In some cases, just using steam isn't an option because:

kozec commented 8 years ago

It is planned, but not exactly on top of TODO. Plus, testing may get little tricky, because I'm not sure how to _un_pair the controller.

MayeulC commented 8 years ago

That's true, I only know one way: pairing it with another dongle. As I have two steam controllers, I should be able to conduct this testing, but with the computer I have right now, it's a bit tricky to navigate the BP interface. I have nonetheless managed to capture packets while pairing both of my controllers, but I don't know exactly where the correct packets are, since it took ~2 minutes between pressing the button and getting the pairing invitation on-screen.

That being said, I think you only have to put the dongle in pairing mode from the interface, which you can do whenever you want, as long as there's a connected dongle.

I don't know how steam behaves when there are more than one connected dongle, though (not sure why anyone would do this).

I can send you the captured data if you're interested. I believe you will be able to discriminate the interesting patterns much easier than me, since you're already familiar with the hardware.

kozec commented 8 years ago

Feel free to send captured data to kozec - at - kozec - dot - com, but I really have no idea what will come from it :)

MayeulC commented 8 years ago

I sent you an e-mail. Fell free to have a look at it -- or not. :)