Need to get input from physical keyboard directly
#1
Hi everyone, first post here Smile

I'm developing a Python script that needs to take input directly from the physical keyboard. I can do this just fine by popping up a virtual keyboard on the screen, but having it on the screen is not an option. Put simply, there is a full screen video running and the user should be able to type in a message into their keyboard and when they hit enter it pops up as a notification, without disrupting or hiding the video.

As a reference, I need to do something similar to this, but without the keyboard showing on screen: http://wiki.xbmc.org/index.php?title=How...l_keyboard

I don't see a way to hide the virtual keyboard, but if that's somehow possible while still maintaining focus for input, that would work as well. I've tried standard Python raw_input() without luck but I was not expecting much from it tbh. I also thought I may be able to do it through keyboard.xml but I don't think that's possible either.

Anyone know how I can achieve this? I feel like I'm missing something obvious.
Thanks for your time.
Reply
#2
This is my first and last "bump" on this topic. Looking for someone to even tell me its impossible so I can give up if that's the case.

Thanks
Reply
#3
Add an edit control to the window and set its visible status on a key action. I believe that control is available. If not xbmc would need to add it.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
Need to get input from physical keyboard directly0