Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by siddharth3322 · May 07, 2016 at 03:43 PM · iosunity5remoteappletv

Play/Pause Buttons Access in Apple TV

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?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image siddharth3322 · Jun 26, 2016 at 07:03 AM 0
Share

Any more detail in this, still I can't able to figure this out.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by aihodge · May 21, 2016 at 07:36 AM

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");
                 }
     }
 

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image siddharth3322 · May 21, 2016 at 07:38 AM 0
Share

@aihodge, thanks for your reply because no body is replying for this and I am waiting for some person from long time :)

Can you give me just one example setting that I need to do in Input$$anonymous$$anager?

avatar image siddharth3322 · May 21, 2016 at 07:41 AM 0
Share

@aihodge, can I test this thing via tvOS Simulator?

avatar image siddharth3322 · Jun 26, 2016 at 08:44 AM 0
Share

I have set Input$$anonymous$$anager something like this and paste your update method code for testing purpose. But nothing got printed in xCode debug console. Now please give me more suggestion in this. alt text

screen-shot-2016-06-26-at-21227-pm.png (79.0 kB)
avatar image aihodge siddharth3322 · Jun 27, 2016 at 01:15 AM 0
Share

@siddharth3322 Sorry I missed your first message. I just checked my Input $$anonymous$$anager and the only difference was the Type field was set to "$$anonymous$$ey or $$anonymous$$ouse Button" - try that!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

60 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

tvOS Icon sizes 0 Answers

tvOS Ad Network 0 Answers

Animation issues with Apple TVos 0 Answers

How to use the Siri Remote 0 Answers

Implement Apple TV ODR (On Demand Resources)? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges