This is my first post here and I want to say thank you for this wonderful project. I had so much fun to get RetroPie running over the last weekend with installing RetroPie from scratch, compiling emulators, modding themes to my personal needs adding content and of course playing all those retro games. All is running perfect now - except the CEC stuff. Here I need some help.
I can control Kodi with my TV remote control via CEC, but I can’t get it to work in emulationstation. If I start ES manually in a SSH session, it displays the following
using HDMI port '1'
No device type given. Using 'recording device'
CEC Parser created - libCEC version 4.0.2
no serial port given. trying autodetect:
path: Raspberry Pi
com port: RPI
opening a connection to the CEC adapter...
But my Pi is connected to HDMI port 2. So, first question, where can I change that to use HDMI port 2? My TV doesn’t support CEC in HDMI port 1.
Next question, what must be done in emulationstation to use the remote control as another input device? Currently I use a keyboard and a xbox controller, which both works perfectly. Do I have to define the remote TV keys (up, down, left, right, ok and exit) like I did with the keyboard? Will a remote control identified as a further controller or does it work out of the box if a CEC connection is made?
I’m using the latest OSMC release, RetroPie 4.3, emulationstation 2.7.1RP and a Pi2 model B. I tried the CECFIX=1 stuff and changed in Kodi my CEC adapter settings to not turn off TV or things like that.
Thanks for any help in advance.
EDIT: First question is solved. The CEC log is to be read from the Pi side and the Pi has got only 1 HDMI port, so no need to change that to HDMI-2. 2nd question still open, how to configure/use the remote control in ES.