HDMI CEC remote support
-
I've been trying unsuccessfully to control retro pie using HDMI CEC, mostly using https://github.com/bramp/libcec-daemon. It has a lot of weird issues. Just wondering if anyone has had luck with using CEC?
-
In what capacity are you looking to utilize CEC? Are you looking to navigate Emulation Station's menus, KODI support (which should be inherent), or are you looking to play games with your TV remote? The latter I wouldn't recommend, but I have to admit it'd be fun to see it in action.
Edit: Also, what weird issues are you running into?
-
Mostly just to navigate Emulation Station menus, though playing a game with a remote would be pretty cool. Kodi works fine with the built in CEC support.
-
Well, as you might guess, this isn't something that people come around asking for all that often, but there does seem to be a few people who have worked to tailor this to Emulation Station and even the emulators themselves.
This guy took you're approach by using 'libcec-daemon' and based on his demo video, seems to have accomplished everything you're looking to do. He offers up a full disk image, which is a little unconventional for this type of thing, but you should be able to poke around in all the places you're already familiar with and compare your work.
https://github.com/CeRiAl/EmulationStation
This project chose to add a custom SDL event for CEC and alter Emulation Station in accordance. While I imagine this approach is possible within RetroPie, it won't come without a few obstacles as you would have to adapt their work to the many unique intricacies found within RetroPie, such as variances in SDL implementations, not to mention integrating their ES into a very particular environment designed to work a certain way.
Anyway, I hope this can at least get you started and if you do continue with this, drop a line every so often and let us know how it's going. It seems like a really cool project.
-
There's now https://github.com/dillbyrne/es-cec-input
-
Has anybody got it work?
I'm trying it on Ubuntu 16.04 Desktop and i can't get it work.
After I start the es-cec-input.py in the Terminal I got this output:
Traceback (most recent call last):
File "RetroPie/es-cec-input.py", line 190, in <module>
main()
File "RetroPie/es-cec-input.py", line 182, in main
press_keys(lines.next(), device, keylist)
StopIterationIs this normal?
Greetings
Nicke
-
Maybe it's not x86 compatible? Has anyone tried this on a Pi?
-
@robertybob
that could be an explanation why it doesn't work if it's only developed for the RPi.I'm using the PulseEight-CEC-Adapter ( https://www.pulse-eight.com/p/104/usb-hdmi-cec-adapter ) in a Zbox Nano CI320 with 8GB RAM and 64 GB Sandisk SSD and Ubuntu 16.04 Desktop amd64 as operating system.
Would be nice if we get it Work on RetroPie x86. The CEC-function is one of the missing functions in my Box. In Kodi does it work. My system is configurated to stop Kodi if another windowed application like emulationstattion is getting startet, so the adapter shouldn't be used by Kodi anymore before emulationstation appears.
Can anybody tell me the meanings of the throwed exceptions in my pervious post and how to troubleshoot them?
Greetings
Nicke
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.