def onInputRequested(self):
"""
Input.OnInputRequested event handler
:return: None
"""
if not RUN_COMMAND_ON_ENTER:
return
command = self.window.command.getText()
if not command:
return
while True:
keyboard_visible = xbmc.getCondVisibility("Window.IsVisible(virtualkeyboard)")
if keyboard_visible:
JSONRPC("Input.Back")
break
if self.abortRequested():
break
评论列表
文章目录