Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9

This commit is contained in:
2026-09-04 10:46:13 -07:00
parent c915312901
commit 0460b9d587
482 changed files with 27797 additions and 3226 deletions

View File

@ -0,0 +1,26 @@
from lnx.logicnode.lnx_nodes import *
class SetVirtualButtonNode(LnxLogicTreeNode):
bl_idname = 'LNSetVirtualButtonNode'
bl_label = 'Set Virtual Button'
lnx_section = 'virtual'
lnx_version = 1
property0: bpy.props.EnumProperty(
items=[('Keyboard', 'Keyboard', 'Keyboard'),
('Mouse', 'Mouse', 'Mouse'),
('Gamepad', 'Gamepad', 'Gamepad')],
name='Input',
default='Keyboard'
)
property1: bpy.props.StringProperty(name='Virtual Button', default='')
property2: bpy.props.StringProperty(name='Physical Button', default='')
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_output('LnxNodeSocketAction', 'Out')
def draw_buttons(self, context, layout):
layout.prop(self, 'property0')
layout.prop(self, 'property1')
layout.prop(self, 'property2')