Skip to content

Module thc_Virtual

Andreas Drollinger edited this page Nov 8, 2019 · 10 revisions

Virtual devices

Setup, configuration and initialization

Introduction

The thc_Virtual module implements virtual devices for THC. A virtual device is a device that is not attached to any physical device. Virtual devices allow keeping control states like scenes. Virtual devices are initialized to 0.

Examples

 thc::DefineDevice Surveillance,state -get {thc_Virtual "Surveillance"} \
                                      -set {thc_Virtual "Surveillance"}