Input Panel - MintyTrebor/BtnCmd GitHub Wiki

The Input Panel is designed to allow the updating of global variables. There are three main types:

  • Boolean - True or false displayed as a toggle switch
  • String - Text value input - choice between standard text input field or selection list of pre-defined values.
  • Number - Numeric value input - choice between standard number input field or slider.

Input Panels Selection

The panels can be configured with a varying combination of settings depending on the parameters selected.
The More Options button will become active when addtional setting are available for the Input Control Type selected.

Slider Panel
The slider panel can be configured with a value range and the delta steps when moving the slide.

Selection Panel
Selection Items can be added, deleted or re-ordered by dragging the items to a new position.

Other options available are:

  • Link to OM - Link to any key/value in the OM - NOTE: Linked OM Key/Value is not changed when user inputs new value.
  • Prefix and suffix text
  • Label
  • True / False Labels
  • Hover Text
  • Panel & Text Colour
  • Panel Boarder toggle
  • Show clear button on panel
  • Text Size
  • Global Variable Name - The name of the global variable to write the value on change to. The variable must already be configured in DWC/RRF before the value can be set by the input panel.
  • Post Change GCode Command - Run a command after the initial update to the OM value.
  • Icon / Icon Size / Icon Colour