this post was submitted on 09 Feb 2024
8 points (100.0% liked)

Game Development

2814 readers
23 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 1 year ago
MODERATORS
 

Firstly, I am making a game and I want to connect my PS2 Controller to my Android phone with bluetooth for a game I am making with Unity.

Is it possible to connect both of them ?

With my lowly research, i came to know that the protocols are old and this functionality isn't supported.

Else I have to root my phone, which I don't want to.

Suggestions I need:

  1. Any third-party app that would act as a medium which would re-direct the inputs to the game.
  2. Any modules or implementation that I could make to make this work around.
you are viewing a single comment's thread
view the rest of the comments
[–] paultimate14 2 points 9 months ago

"Wireless" is going to be the challenge. The Dual shock 2 needs power somehow. Theoretically there could be some sort of device that could accept the PS2 controller port and have either a battery or plug in to external power, then send the Bluetooth signal, but I don't know that any such hardware exists.

There are wireless PS2 controllers from 3rd parties. There are also adapters to convert the PS2 controller port to USB. I got a couple of them on AliExpress for a few dollars each, and they work well. I have not used them on Android, but Linux interpreted them as Dualshock 3's (the listing advertised it as allowing you to use PS1/2 controllers on PS3's that are not backwards compatible).

So you could take a wireless 3rd party controller, then the adapter to convert to a PS4 controller signal. You'd need a USB hub to get that into your phone, and depending on what You're trying to do from there you might need an app to interpret that signal before getting to its final application. Alternatively, you could use a Mayflash USB adapter to convert from a PS3 signal to something else your phone would recognize.

If you just use a Dualshock 3 that cuts out a lot of hardware and allows you to use a 1st party controller. You can also get new fake ones on the Internet pretty cheaply that aren't all that terrible (usually the downside is a lack of sixaxis functionality). From there a Mayflash adapter or an app should be able to convert that. Some apps might even be able to accept it without any conversion. I've used DS3's on my NVIDIA Shield with Steam Link, for example.

The best experience would probably be to just get a more modern controller like a Dualsense or some 3rd party controller. I do wish a company like Retrobit or 8Bitdo would make a modern version of the Dualshock 1-3, similar to what's been done with Genesis, Saturn, and other controllers. Maybe one day.