Skip to content

Editable Widgets & DEDs

Many system and config DVs let the wearer change settings directly on the device. They use DEDs (Dedicated Editing Dialogs) — small pop‑up pages that overlay the current screen.

Type Behaviour Example
bool_inplace / inp_bool Toggle a boolean value. Shows localized true/false text. Enable/disable lock in syscfg
1ofN_inplace / inp_1ofn Pick one value from a list. Usually auto_ok: true so selection closes the DED immediately. Language selection, log level, LED behaviour
alerts Shows a full alert detail skeleton (used only in duress). Tapping an alert in the msglist
inp_1ofn (with title) Same as 1ofN but with a title bar. syscfg language and log level
  • The ded object inside a widget defines the DED type and options.
  • When the user taps the widget, the DED opens.
  • On confirm / auto‑ok, the widget’s onEntry action fires (usually updateLocal or updateOutput), writing the new value to the appropriate devcfg key.
Widget Type Writes to
devcfg.ui.lang 1ofN devcfg.ui.lang
devcfg.ui.enable_lock bool_inplace devcfg.ui.enable_lock
devcfg.ui.log_level 1ofN devcfg.ui.log_level
devcfg.alert.showFlash bool_inplace devcfg.alert.showFlash
devcfg.alert.showVibr bool_inplace devcfg.alert.showVibr
devcfg.alert.showSound bool_inplace devcfg.alert.showSound
led_colour 1ofN devcfg.led.led0
devcfg.nfc.emul bool_inplace devcfg.nfc.emul
  • Button actions — how actions like updateOutput are structured
  • syscfg DV — the main config screen using these DEDs