Nodes/Ray's Orenchi/πŸŽ›οΈ Ray's Analog: Button Deck
ComfyUI Node

πŸŽ›οΈ Ray's Analog: Button Deck

A deck of analog push buttons that replaces a dropdown. Enter one value per line; each line becomes a button and the pressed button's text is the output. Size the node however you like: the buttons take the grid that makes them biggest, a row in a wide node, 2 x 2 in a square one, a column in a tall one. Use the pencil next to Entries (or right-click) to change the list. Right-click also picks the button style, turns on Compact mode (the faceplate alone), mutes the sound, and edits the Dymo label. The pressed button stays lit and the others stay unlit.

By MutantSparrowΒ·Created 4 months agoΒ·Updated 3 days agoΒ· 1
πŸŽ›οΈ Ray's Analog: Button Deck
    • value
    β—„entriesOption A Option B Option Cβ–Ί
    β—„selectedβ–Ί
    CategoryπŸ‘‘ Ray/πŸŽ›οΈ Analog

    Inputs (2)

    NameTypeDefaultDescription
    entriesSTRINGOption A Option B Option COne value per line. Each line becomes a button. Blank lines and repeated lines are ignored.
    selectedSTRINGThe pressed button's text (driven by the deck). If it isn't in the list, the first entry is used.

    Outputs (1)

    NameTypeDescription
    valueSTRINGThe text of the pressed button.