Linux libcec-daemon = Remote for KODI, Steam and Openbox
#1
Wink 
Finally I can use my tv remote to control KODI, right click in Openbox and navigate in Chrome and Steam.

I was annoyed by the cec client integrated in KODI, the issue was that other applications cannot use the remote. Another issue is also that at least for me the KODI cec client stopped working from time to time. I had that issue on my rpi b (256MB) and also on my current intel htpc with pulseeight usb cec receiver. Now I have solved all my issues. And here I want to explain how.

IDEA: Put the cec client in an own application an emulate a keyboard.

Luckilly there is allready an existing libcec-daemon from bramp: https://github.com/bramp/libcec-daemon. Thank you bramp for sharing your project with us! I started with that and simply remapped a few remote keys to keyboard keys. Which make kodi and other applications usable.
pause=space
stop=x
red_button=esc
blue_button=compose (context menu)
exit=backspace

That allows already a decent navigation in Steam and KODI, since the navigation keys up, down, left and right where already properly set. You can grab and compile the libcec-daemon with these modifications from my github account: https://github.com:Flos/libcec-daemon.

Missing features:
SMS write style number input for global text input.
Reply

Logout Mark Read Team Forum Stats Members Help
libcec-daemon = Remote for KODI, Steam and Openbox0