ATV4 keymaps
#1
Just wondering if user customisation of keymaps.xml for the siri remote or other IR/BT remotes of the ATV4 are or are aimed to be supported. Thanks.
Macmini Server 2011 i7 Quad Core, OS 10.8.2, Amp Onkyo TX-SR308 USB WD drives 3x2TB TV Samsung Plasma 720p EyeTV Integration
There are only 10 kinds of people in this world, those who understand binary, and those who don't.



Reply
#2
thats a question for mrmc
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
I'm pretty sure IR remotes are limited to a handful of buttons due to the apple api

It doesn't send the raw IR data to the MrMC / Kodi
Install Kodi on iOS without a jailbreak: iOS App Signer — donations are gratefully accepted
Reply
#4
DanTheMan827 is correct. tvOS does not pass raw IR. The only 'buttons' are the ones that they use and the ones that can be defined for non-appletv remotes.

While keymap support would be nice to align this platform with the others, it would be rather limited in use.

BT expansion would be nice but that is also limited to the existing API. There are private APIs that can dig deeper but as those are forbidden for App Store submission, I have no interest in investigating them.

@activate, what exactly do you need a keymap for ?
MrMC Forums : http://forum.mrmc.tv
Reply
#5
What device is the ATV remote seen as? Does it have its own keymap like the older ATVs or is it just using remote.xml?
Reply
#6
It directly injects XBMC_Events via CWinEvents::MessagePush. Every time I try to track that though the maze, my brain explodes.

see https://github.com/Memphiz/xbmc/blob/yab...troller.mm

sendKeyDownUp, sendKeyDown and sendKeyUp.

This is one of our problems in handling the siri remote the 'Apple way'. We have no clue what is in focus nor what the next focus would/should/will be. So we try to mimic with key presses.
MrMC Forums : http://forum.mrmc.tv
Reply
#7
(2016-03-18, 13:32)MrMC Wrote: DanTheMan827 is correct. tvOS does not pass raw IR. The only 'buttons' are the ones that they use and the ones that can be defined for non-appletv remotes.

@activate, what exactly do you need a keymap for ?
Thanks guys.

It will be useful to add shortcuts e.g.. subtitles on/off, audio stream selection etc. directly to buttons without having to navigate via menus, for commonly used functions. With the next tvos (the current beta) supporting bt keyboards, is it possible to add keyboard shortcuts similar to other desktop platforms and then enable 'remote receives keyboard presses' and then map these shortcuts via keymaps.xml
Macmini Server 2011 i7 Quad Core, OS 10.8.2, Amp Onkyo TX-SR308 USB WD drives 3x2TB TV Samsung Plasma 720p EyeTV Integration
There are only 10 kinds of people in this world, those who understand binary, and those who don't.



Reply
#8
Once the next tvOS gets released, and we actually get bt keyboard support, then things become different as bt keyboard events will come from a different API and these can passed through the standard keystroke handler.

kodi/iOS uses a private API to access them. MrMC cannot support that.
MrMC Forums : http://forum.mrmc.tv
Reply
#9
Brilliant. Wink Thanks as always!
Macmini Server 2011 i7 Quad Core, OS 10.8.2, Amp Onkyo TX-SR308 USB WD drives 3x2TB TV Samsung Plasma 720p EyeTV Integration
There are only 10 kinds of people in this world, those who understand binary, and those who don't.



Reply
#10
With Bluetooth keyboard support and TvOS, can you detect whether one is connected or not, and choose to display a different text-entry UI? Sorta like in iOS when a BT keyboard is connected, it won't pop up the on-screen keyboard anymore.
Reply

Logout Mark Read Team Forum Stats Members Help
ATV4 keymaps0