I am making a Pad Dance Game. I have 2 pad dances, they works like a joystick on Pc, they almost have the same number/button sequence(because they are not from the same company). The problem is when I click one pad and the other has the same gamepad number the action works in both player. I need the input system to distinguish if I am pressing the same number button from joystisck one or two. The image below shows how the input system detect the binding for the up arrow icon on the pad 1("botao1") and 2("botao11"), there is no difference if I am pressing joystick one or two. I tried to create 2 differents Action Map, didn't work, because the biding system don't recognize if am pressing joystick one or two. Any clues? Tks in advance
Asked
Active
Viewed 467 times
1
-
https://1drv.ms/u/s!Akqxf9L5QqUIhMpO6Xzg1wds6c5MJA?e=OMt16v Link for the image – Rodrigozol Oct 17 '22 at 12:16
1 Answers
0
You need to duplicate the inputs, one for each pad (so for example "Left_Player1" and "Left_Player2"). You configure both inputs identically, except that they must have different JoyNum values.

NaBUru38
- 99
- 1
- 7
-
Tks for the answers. Sorry, but where exactly I can define "they must have different JoyNum values"? I duplicated the Input Actions(each player has a different one), i didn't put the same name/function for the buttons, same situation, but i don't figure how to put different joyNum values. Tks again! https://1drv.ms/u/s!Akqxf9L5QqUIhMpPjqzPc2e8IL3V9w?e=Mzj28s (another image trying with 2 Input Action Map) – Rodrigozol Oct 18 '22 at 12:55
-
Your screen capture is showing the Player1 GameObject, not an ActionT1 button. – NaBUru38 Oct 18 '22 at 13:23
-
I have made a folder with images and one video showing what is happening. https://1drv.ms/u/s!Akqxf9L5QqUIhMpVs3gq5JVT7ebejw?e=jzrOPU. A also tried to check what pad is being clicked by using "Joystick.All" and "Joystick.current" but without result. – Rodrigozol Oct 19 '22 at 10:58
-
https://www.youtube.com/watch?v=0c7Aav8v0rU&list=PLZtVzpLVEw56J63ZA2CV9tbwiCopj-IPv A kind of solution – Rodrigozol Dec 02 '22 at 14:06