Android device can't support two joystick

Dear Friend…

We are the beginner of Unity 3D, want to use two Joystick/GamePad devices on Unity, the situation now is two Joystick/GamePad can work fine on PC/MAC platform (Detect joystick 1 xxx and Joystick 2 xxx), but when we porting the APK to android device, We can only got one Joystick/GamePad.
The same source code without change, but switch to Samsung SmartTV platform, It will work just fine !
So, Is there anyone can help us, What’s should we do on Android platform for support two Joystick/GamePad ?

Thanks!

Perhaps it’s as easy as enabling multitouch. I think it’s Input.MultiTouchEnabled = true; in the awake or start of a script, enabled on android. If my memory serves me right I had to do that a couple times.

Thanks you MD_Reptile again !

We try your suggestion these days, But unfortunately it’s not work too, The detail situation is we can get 1P & 2P’s 4 direction button, but only 1P’s button (Like 1,2,3,4 or A,B,X,Y and L1,R1,L2,R2,Start…) can be detected, 2P will still not work.

Any suggestion ?

We found this while searching: GitHub - CMZCODE/GamePadSampleUnity: Unity Gampad sample for Android and PC

But we haven’t tried it as of yet.

From the readme:

We’ll report back once we have evaluated it.

We just tried the demo apk that is provided and it worked. Detected both controllers.

Currently using two G910 Wireless Bluetooth Gamepad from Geek Buying

Triggers didn’t work, but every other button did.

Dear SIO_BA…

Thank you very much and we will try it today !!

@AtwoodYen Did you get the solution actually i am also facing same issue .I have created a project on Unity 2021.3 where I have used new input System. I have created two joystick both joystick and controls are working properly but in unity remote testing where joystick working individually but not working simultaneously. I think the input system detecting only single touch. can you help me to resolve it.