Files
ryanontheinside-ComfyUI_Con…/__init__.py
T
2025-04-06 12:54:48 -04:00

35 lines
676 B
Python

"""
CONTROL FREAK - Map MIDI controllers, gamepads, and other devices to ComfyUI parameters
"""
class ControlFreakMarker:
"""
This node is added to workflows with ControlFreak mappings
to ensure ComfyUI-Manager detects the dependency.
"""
@classmethod
def INPUT_TYPES(s):
return {
"required": {}
}
RETURN_TYPES = tuple()
FUNCTION = "marker"
CATEGORY = "controllers"
HIDDEN = True
def marker(self):
return ()
NODE_CLASS_MAPPINGS = {
"ControlFreak": ControlFreakMarker
}
__all__ = ["NODE_CLASS_MAPPINGS"]
# Define the web directory for our JavaScript files
WEB_DIRECTORY = "./js"