2009-04-30, 15:45
I'm working on a script for PC installations that takes direct keyboard input (not using the on-screen keyboard). I've been able to build a functional key handler with the tools available (although Shift is a bit of a workaround).
Problem is, any time I'm typing and I hit 's' the Power-down menu descends across the screen, which can really interrupt whatever I'm working on. I type in parentheses and it adjusts the audio volume.
Is there any way to programmatically suppress (or capture) the keystrokes within a script? I know I could disable them all in the XBMC XML, but I don't want to stop them working -- just to pause that functionality while my script is running.
Problem is, any time I'm typing and I hit 's' the Power-down menu descends across the screen, which can really interrupt whatever I'm working on. I type in parentheses and it adjusts the audio volume.
Is there any way to programmatically suppress (or capture) the keystrokes within a script? I know I could disable them all in the XBMC XML, but I don't want to stop them working -- just to pause that functionality while my script is running.