Keymap.xml to perform CEC-Client function
Hi, I have seen many posts about the keymapping for remote.xml however I am trying to control the CEC-Client (Pulse Eight) in RasPlex from the Keymap.xml remap file. So rather than the CEC-Client receiving the signals it would be sending them and this would enable me to use a Flirc receiver to use a non programmable remote of my choice (QNAP RM-IR002) for both navigating Plex and controlling the TV (Samsung) and volume (Onkyo TX L-50).
I can successfully turn on and off the TV with these commands in SSH:
echo "on 0" | cec-client -s
echo "standby 0" | cec-client -s
I had a wild unsuccessful stab at this Keyboard.xml keymap with t and v as arbitrary letters that i could later program in Flirc to buttons, w and g were simply put in to prove my .xml file was working:
Results - w and g were remapped correctly and worked, t and v however had no effect.
In this article ( http://kodi.wiki/view/Keyboard.xml ) in section 6.2 Functions, were the following functions:
CECActivateSource - Wake up playing device via a CEC peripheral v13 Addition
CECStandby - Put playing device on standby via a CEC peripheral v13 Addition
CECToggleState - Toggle state of playing device via a CEC peripheral v13 Addition
these looked promising so i tried the following keyboard.xml remap:
Unfortunately t and v again had no effect.
If there is anyone that has any advice on how to remap the Keyboard.xml file to utilise the CEC-Client in Rasplex to control the tv and receiver I would really appreciate the guidance. The best case would be a toggle function like Kodi seems to have above however i could possibly work around separate buttons using a Longpress in Flirc if i had to. Unfortunately I am not familiar with how to debug as i am really new to this however i am sure there are tutorials on this and i will learn if it is required.
Thanks for any help