aboutsummaryrefslogtreecommitdiff
path: root/config/LightInstallationConfig.xml
diff options
context:
space:
mode:
authorGravatar Sun <sun@sun-nb.(none)>2010-12-08 02:41:06 -0500
committerGravatar Sun <sun@sun-nb.(none)>2010-12-08 02:41:06 -0500
commit4371fee2b48dd46861e6386eb04987ad8c6d5329 (patch)
tree6b76d56a22e5927401579db0a81501760dafaa61 /config/LightInstallationConfig.xml
parent353ab16db64c86122c0fcb9e1852b85c14b354b8 (diff)
Put together TCPInput; added TCPInput and a colorchange Behavior for it in config xml; for testing, now phone can control pixel's location on pygame screen.
Diffstat (limited to 'config/LightInstallationConfig.xml')
-rw-r--r--config/LightInstallationConfig.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/LightInstallationConfig.xml b/config/LightInstallationConfig.xml
index dfa05d7..4950c72 100644
--- a/config/LightInstallationConfig.xml
+++ b/config/LightInstallationConfig.xml
@@ -93,6 +93,14 @@
<RefreshInterval>100</RefreshInterval>
</Args>
</InputElement>
+ <InputElement>
+ <Class>inputs.TCPInput</Class>
+ <Args>
+ <Id>TCP</Id>
+ <Port>20120</Port>
+ <RefreshInterval>100</RefreshInterval>
+ </Args>
+ </InputElement>
</InputConfiguration>
<BehaviorConfiguration>
<Behavior>
@@ -117,6 +125,17 @@
</Args>
</Behavior>
<Behavior>
+ <Class>behaviors.ColorChangerBehavior</Class>
+ <Args>
+ <Id>colorchangeTCP</Id>
+ <z-index>0</z-index>
+ <RenderToScreen>True</RenderToScreen>
+ <Inputs>
+ <Id>TCP</Id>
+ </Inputs>
+ </Args>
+ </Behavior>
+ <Behavior>
<Class>behaviors.DecayBehavior</Class>
<Args>
<Id>decay</Id>