Search Unity

How to use mini Wireless Bluetooth Joystick with iOS and VR?

Discussion in 'AR/VR (XR) Discussion' started by Slyrfecso1, Apr 3, 2016.

  1. Slyrfecso1

    Slyrfecso1

    Joined:
    Jul 16, 2012
    Posts:
    100
    Hi,

    I'd like use this controller in my project, but unfortunately nothing is happening after
    I paired them in my project. On Android is working well, but on iOS something is missing...

    This is the joystick what I want to use.



    I have changed the Horizontal Axis to "3rd axis (Joysticks and Scrollwheel)"
    I have changed the Vertical Axis to "4th axis (Joysticks)"

    Code (CSharp):
    1. void Update() {
    2.     float h = Input.GetAxis("Horizontal");
    3.     float v = Input.GetAxis("Vertical");
    4.     transform.position += new Vector3 (h * 0.1f, 0f, v * 0.1f);
    5.  
    6.     }
    Any Idea will be helpful.
     
  2. greggtwep16

    greggtwep16

    Joined:
    Aug 17, 2012
    Posts:
    1,535
    Currently Unity only supports mFi controllers on IOS.
     
  3. Taishou

    Taishou

    Joined:
    Jun 24, 2014
    Posts:
    21
    I had the same issue. The reason is that Apple supports certified bluetooth controllers only.