Files
LNXSDK/leenkx/blender/lnx/logicnode/input/LN_get_gamepad_started.py

16 lines
467 B
Python

from lnx.logicnode.lnx_nodes import *
class GetGamepadStartedNode(LnxLogicTreeNode):
"""."""
bl_idname = 'LNGetGamepadStartedNode'
bl_label = 'Get Gamepad Started'
lnx_section = 'gamepad'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxIntSocket', 'Index')
self.add_output('LnxNodeSocketAction', 'Out')
self.add_output('LnxStringSocket', 'Button')