2025-01-22 16:18:30 +01:00
|
|
|
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
|
|
|
|
class GetGamepadStartedNode(LnxLogicTreeNode):
|
|
|
|
|
"""."""
|
|
|
|
|
bl_idname = 'LNGetGamepadStartedNode'
|
|
|
|
|
bl_label = 'Get Gamepad Started'
|
2026-09-04 10:46:13 -07:00
|
|
|
lnx_section = 'gamepad'
|
2025-01-22 16:18:30 +01:00
|
|
|
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')
|