Thread Rating:
  • 0 Vote(s) - 0 Average
Virtual keyboard and password

Here is my problem, in the plugin vdrrecord (see /) I use the keyboard to enter a password that provides access to the recording of VDR for XBMC. It works fine with the PC keyboard display is hidden.
When I use the remote to enter the code I see the button appear before it is changed to *. This is probably the key to the fact that more than one letter on the number of times it is pressed (eg the 2 key, pressure = a, b = 2 pressures, pressure = 3 c, 4 pressure = 2).

Here's the code I use to call the virtual keyboard
kb = xbmc.Keyboard('', 'heading', True)
kb.setDefault('') # optional
kb.setHeading(locstr) # optional
kb.setHiddenInput(True) # optional
if (kb.isConfirmed()):
          pin = kb.getText()

Maybe the solution would be to have only the numeric keypad, but I do not know how to do it from a python script.

thank you for your help


Logout Mark Read Team Forum Stats Members Help
Virtual keyboard and password00