Implementing a more native like Apple Remote axis handling

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!

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

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

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 :slight_smile:

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

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

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 :slight_smile: