Kodi Community Forum

Full Version: Hotkey in python script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to set a hotkey in a python add on? The hotkey should simply call a function that I defined or toggle a variable to true/false.
If this is not possible, is there an easy way to add a button (that does the same) to the screen when a video is playing?
anyone?
you can map a button to run an addon, look in wiki for it