sy6sy2 / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.
https://kodi.tv/
Other
6 stars 1 forks source link

Validate standard TV remote using HDMI CEC use with tvOS #33

Open phunkyfish opened 5 years ago

phunkyfish commented 5 years ago

Currently supports Siri remote and a TV remote over HDMI CEC.

Many users will want to configure their TV remote to perform other actions. Need to figure out if this is possible and if so how to do it.

As an example how to enable the red, yellow, blue and green buttons on a remote to perform other functions.

sy6sy2 commented 5 years ago

If I remember correctly, Memphiz wrote something about that on the forum and he said that is not possible because we have to use the Apple TV API to receive remote actions. And the Apple TV does not transfer action of no vanilla supported buttons. I hope to be wrong...

I will search where I read that information.

phunkyfish commented 5 years ago

It does work currently using my TV remote over CEC. I’ve never actually used the apple remote.

But agree it may be limited to only the apple Remote functions.

kambala-decapitator commented 5 years ago

maybe not entirely on topic, but you can configure ordinary remote to perform Siri remote functions via IR, this is done in ATV Settings.

kambala-decapitator commented 5 years ago

also saw this in Xcode generation output (this is for iOS, but for tvOS it's probably the same), might be related:

Could NOT find CEC (missing: CEC_LIBRARY CEC_INCLUDE_DIR) (Required is at least version "4.0.0")

phunkyfish commented 5 years ago

CEC is working as it stands, stop, play etc all work as expected.

The only redundant button would be the ok button, it does the same as play and pause. If the ok button did the same as hold ok, then that could be freed up for another function.

phunkyfish commented 5 years ago

BTW, i also saw that error but it doesn’t effect anything.

phunkyfish commented 5 years ago

If I want to provide an alternative remote that is selectable in the UI is it as simple as providing another xml file in keymaps?