2013-08-30, 16:22
How can we handle key pressed on keyboard by user in any script?
Being inside the gui of spotimc addon when I press ESC and Backspace key I don't come to home/previous screen.
That works only when I am inside some folder and I am looking at tracks of any album( there pressing ESC displays All albums screen inside the spotimc), pressing again ESC/Backspace does nothing.
Where is it blocked?
In keyboard.xml, I have:
How can we handle key pressed on keyboard by user in any script?
For ex: if ESC is pressed, go to Home window.
Being inside the gui of spotimc addon when I press ESC and Backspace key I don't come to home/previous screen.
That works only when I am inside some folder and I am looking at tracks of any album( there pressing ESC displays All albums screen inside the spotimc), pressing again ESC/Backspace does nothing.
Where is it blocked?
In keyboard.xml, I have:
PHP Code:
<backspace>Back</backspace>
<escape>PreviousMenu</escape>
How can we handle key pressed on keyboard by user in any script?
For ex: if ESC is pressed, go to Home window.