from lnx.logicnode.lnx_nodes import * class OnInputMapNode(LnxLogicTreeNode): """Send a signal if any input map key is started or released.""" bl_idname = 'LNOnInputMapNode' bl_label = 'On Input Map' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxStringSocket', 'Input Map') self.add_output('LnxNodeSocketAction', 'Started') self.add_output('LnxNodeSocketAction', 'Released') self.add_output('LnxFloatSocket', 'Value') self.add_output('LnxStringSocket', 'Key Pressed')