Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Implementing a more native like Apple Remote axis handling
Started by pouwelsjochem8 Mar 09 2016 02:00 PM

3 replies to this topic
tvos apple remote axis
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

pouwelsjochem8

[GLOBAL: userInfoPane.html]
pouwelsjochem8
  • Enthusiast

  • 96 posts
  • Corona SDK

Hello,

 

I have just bought an Apple TV to do some development testing. 

And I got to say, i'm impressed how good the touchpad of the Apple Remote works.

This is, when I use it in screens like the AppStore or the main screen. In these screens a swipe on the touchpad could move the cursor around 3 to 5 menu items depending on how fast I swipe.

 

Is there any known algorithm how the Apple TV Remote handles the axis values to navigate through menu's.

Or do you guys have any idea's how to make an implementation that comes close to the native one.

 

Would love to hear your ideas!

 

 

 



[TOPIC: post.html]
#2

pouwelsjochem8

[GLOBAL: userInfoPane.html]
pouwelsjochem8
  • Enthusiast

  • 96 posts
  • Corona SDK

Hi again,

If someone of the CoronaLabs team reads this, I would like to ask something.
Is there a possibility you guys will look into solving this natively somewhere in the next couple of months?
I don't know if it will fit in your current model with the key/axis handling event.

Looking at this guide it looks like this could be handled : https://developer.apple.com/library/prerelease/tvos/documentation/General/Conceptual/AppleTV_PG/WorkingwiththeAppleTVRemote.html

The focus engine also automatically handles sophisticated behaviors, if they are supported by the input device. Examples include momentum-based movement after a fast remote swipe, modulating focus-related animation speeds based on focus velocity



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,068 posts
  • Enterprise

I clicked on the link and it took me to a "Page not found"/404 error.

 

But we have an existing feature request for this:  http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/12811608-ios-remote-support

 

Please vote it up.

 

Rob



[TOPIC: post.html]
#4

pouwelsjochem8

[GLOBAL: userInfoPane.html]
pouwelsjochem8
  • Enthusiast

  • 96 posts
  • Corona SDK

Thx for the reply Rob, the url should be fixed now.
The feature request is not exactly the same as mine though.

But Ill make a new one in a few minutes :)

I clicked on the link and it took me to a "Page not found"/404 error.
 
But we have an existing feature request for this:  http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/12811608-ios-remote-support
 
Please vote it up.
 
Rob



[topic_controls]
[/topic_controls]