Kodi Community Forum

Full Version: Mapping a key to a script addon, please help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ive been trying for the past few hours to add the letter "g" to keyboard.xml so that I can hit the letter and run a script, last.fm plugin addon

This is what I have. Can someone please tell me if this is correct?
I'm running an android box, tried adding the keyboard.xml into userdata folder but I isn't working Sad

<keymap>
<global>
<keyboard>
<g>RunScript("script.lastfmplaylistgeneratorPM")</g>
</keyboard>
</global>
</keymap>
No quotes
The code above actually works. The only thing I can think of that worked is I put it into the keymap folder too. Smile