LNXSDK/leenkx/blender/lnx/logicnode/input/LN_get_gamepad_started.py
2025-01-22 16:18:30 +01:00

15 lines
439 B
Python

from lnx.logicnode.lnx_nodes import *
class GetGamepadStartedNode(LnxLogicTreeNode):
"""."""
bl_idname = 'LNGetGamepadStartedNode'
bl_label = 'Get Gamepad Started'
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')