forked from LeenkxTeam/LNXSDK
17 lines
516 B
Python
17 lines
516 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
class KromShowKeyboardNode(LnxLogicTreeNode):
|
|
"""Shows or hides the onscreen keyboard for mobile platforms"""
|
|
bl_idname = 'LNKromShowKeyboardNode'
|
|
bl_label = 'Show Keyboard'
|
|
lnx_category = 'Krom Runtime'
|
|
lnx_section = 'system'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxBoolSocket', 'Show', default_value=True)
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|