I want to access apple tv siri remote play and pause buttons. Using this buttons, I want to set up, play and pause game functionalities. But I can’t able to find any way to access these.
Can you provide me help in this?
I want to access apple tv siri remote play and pause buttons. Using this buttons, I want to set up, play and pause game functionalities. But I can’t able to find any way to access these.
Can you provide me help in this?
The buttons that are available on the Siri Remote (Play/Pause, Menu, and pressing to click the Touch surface) correspond to joystick buttons 0, 14, 15. Configure the project’s InputManager then check for those buttons like this:
void Update()
{
if(Input.GetButton("Fire1"))
{
print("joystick button 0");
}
if(Input.GetButton("Fire2"))
{
print("joystick button 14");
}
if(Input.GetButton("Fire3"))
{
print("joystick button 15");
}
}