Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Aleksey33's avatar
9 years ago

Configuring multiple joysticks

Hello guys!
Sorry for my bad english
I have some questions :
1) XBOX controller have Triggers (L2/R2), and I want for example to perform some action. L1/R1 i  can switch between items. 
2) Samsung Gamepad EI-GP20 dont have (L2/R2)  and I can to perform some action (L1/R1), and switch between items  D-Pad Left/Right, but then if I use XBOX (L2/R2) they are not involved
Example : 
  NextToogle = OVRInput.GetUp(OVRInput.Button.DpadRight) ;
  PreviosToogle = OVRInput.GetUp(OVRInput.Button.DpadLeft);
if (NextToogle)
    // todo smth
and if the controller XBOX - use  (L1/R1) to swirch and (L2/R2) for action
if EI-GP20 - use D-Pad Left/Righ and (L1/R1) for action

How can i do this?
I hope you understand me...
Replies have been turned off for this discussion