mode-button
system/routerboard/mode-button
Conditions: !i386
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| enabled | bool | Enables or disables the button. |
| hold-time | composite { min: time [0 .. 60] , max: time [0 .. 60] } | Triggers the button action only when the button is held for a duration within the specified range. |
| on-event | alt { script: string } | The name of the script to run when the button is pressed. You must create and name the script in the Script menu. |