Re: tvOS swipe left/right gesture support (patch enclosed)

"oviano" <[email protected]> Sun, 18 Dec 2016 17:08:44 +0000
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Well the swipe gesture I'm talking about hooking into, and which my patch uses is just a simple standard swipe with direction only. There is concept of strength:

https://developer.apple.com/reference/uikit/uiswipegesturerecognizer

So it maps pretty easily to the arrow key presses.

It's funny - I actually had no idea (despite owning a touch-based Apple TV since they were available) that you could tap to produce the direction "buttons", I'd always swiped which is why it seems to me such a big omission. I simply had no way to navigate within the UI of my application (a video player) :)

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org