aboutsummaryrefslogtreecommitdiffstats
path: root/usbhub.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--usbhub.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/usbhub.conf b/usbhub.conf
new file mode 100644
index 0000000..0d9e8ad
--- /dev/null
+++ b/usbhub.conf
@@ -0,0 +1,51 @@
+Variables {
+ tick 500
+ tack 100
+ minute 60000
+}
+
+Display SitecomHUB {
+ Driver 'USBHUB'
+ Vendor '0x04b4'
+ Product '0x6560'
+}
+
+Display TyphoonHUB {
+ Driver 'USBHUB'
+ Vendor '0x0409'
+ Product '0x0058'
+}
+
+
+Widget GPO_Test300 {
+ class 'GPO'
+ expression 2+(1+test::onoff(1))/2
+ update 300
+}
+Widget GPO_Test400 {
+ class 'GPO'
+ expression 2+(1+test::onoff(2))/2
+ update 400
+}
+Widget GPO_Test500 {
+ class 'GPO'
+ expression 2+(1+test::onoff(3))/2
+ update 500
+}
+Widget GPO_Test600 {
+ class 'GPO'
+ expression 2+(1+test::onoff(4))/2
+ update 600
+}
+
+Layout TestHUB {
+ GPO1 'GPO_Test300'
+ GPO2 'GPO_Test400'
+ GPO3 'GPO_Test500'
+ GPO4 'GPO_Test600'
+}
+
+#Display 'SitecomHUB'
+Display 'TyphoonHUB'
+Layout 'TestHUB'
+