Can we write some condition for any key in keyboard.xml?
#1
Lightbulb 
Can we write a condition for any key in keyboard.xml?
for ex:
PHP Code:
<keymap>
  <global>
    <
keyboard>
      <
F5 condition="a condition">ReloadSkin</F5>
    </
keyboard>
  </global>
</
keymap

Thanks for help in advance.
Reply
#2
no. only context is window.
Reply
#3
This would make the key mapping a lot more powerful. Missing this feature.
Reply
#4
It is possible to map a key to run a python script in Kodi, and then have the script check for various conditions. It depends on what the final goal is.
Reply

Logout Mark Read Team Forum Stats Members Help
Can we write some condition for any key in keyboard.xml?0