Search Unity

iOS Remote App inputs on tvOS

Discussion in 'iOS and tvOS' started by Boji, Jul 19, 2016.

  1. Boji

    Boji

    Joined:
    Jul 10, 2012
    Posts:
    44
    Hi, I am trying to get my tvOS app to work with the Apple Remote iOS App but it's not mapping to the standard Siri Remote inputs.

    I am using the following inputs for the Siri Remote:

    Input.GetAxisRaw("Horizontal")/Input.GetAxisRaw("Vertical")
    Input.GetKeyDown(KeyCode.JoystickButton0)
    Input.GetKeyDown(KeyCode.JoystickButton14)
    Input.GetKeyDown(KeyCode.JoystickButton15)
    Input.gyro.rotationRate
    Input.acceleration

    The inputs work as expected with the Siri Remote but with the Remote iOS App only Input.GetKeyDown(KeyCode.JoystickButton0) is triggered when I press the menu button in the App, nothing else is triggered by the Remote App.

    Does anyone know how the Apple Remote iOS App is mapped in Unity when building for tvOS?
     
  2. Boji

    Boji

    Joined:
    Jul 10, 2012
    Posts:
    44
    So, is this possible? Has anyone used the Apple Remote iOS App on tvOS?