src/main/java/frc/robot/util/StreamDeckButton.java
/**
   * Constantly starts the given command while the button is held.
   *
   * {@link Command#schedule(boolean)} will be called repeatedly while the button is held, and will
   * be canceled when the button is released.  The command is set to be interruptible.
   *
   * @param command the command to start
   * @return this button, so calls can be chained
   */
Constantly starts the given command while the button is held.
Command#schedule(boolean) will be called repeatedly while the button is held, and will
be canceled when the button is released.  The command is set to be interruptible.

@param command the command to start
@return this button, so calls can be chained
Constantly starts the given command while the button is held . Command#schedule ( boolean ) will be called repeatedly while the button is held and will be canceled when the button is released . The command is set to be interruptible . @param command the command to start @return this button so calls can be chained
public StreamDeckButton whileHeld(final Command command) {
    whileActiveContinuous(command);
    currentCommand = command;
    return this;
  }
public StreamDeckButton whileHeld ( final Command command ) { whileActiveContinuous ( command ) ; currentCommand = command ; return this ; }
Constantly starts the given command while the button is held.
Constantly starts the given command while the button is held .