2014-02-19, 10:04
I am trying to map CECToggleState to a key so that I can, on my raspberry pi, turn the tv etc on and off without exiting xbmc.
This is what I have in userdata/keymaps/keyboard.xml
I'm 98% sure that it should work - but I get the following message
If I do the following:
it shuts down as I would expect. So I don't think it's malformed/wrong XML - but for some reason none of the CEC commands are recognised. This is with or without the XBMC. prefix.
I am using version XBMC (12.3 Git:20131212-9ed3e58) on my windows machine to test this, and I can provide the full log if required.
This is what I have in userdata/keymaps/keyboard.xml
Code:
<keymap>
<global>
<keyboard>
<s>CECToggleState</s>
</keyboard>
</global>
</keymap>
I'm 98% sure that it should work - but I get the following message
Code:
18:48:07 T:5576 ERROR: Keymapping error: no such action 'cectogglestate' defined
If I do the following:
Code:
<keymap>
<global>
<keyboard>
<s>Shutdown</s>
</keyboard>
</global>
</keymap>
I am using version XBMC (12.3 Git:20131212-9ed3e58) on my windows machine to test this, and I can provide the full log if required.