diff options
author | Sun <sun@sun-nb.(none)> | 2010-12-08 02:41:06 -0500 |
---|---|---|
committer | Sun <sun@sun-nb.(none)> | 2010-12-08 02:41:06 -0500 |
commit | 4371fee2b48dd46861e6386eb04987ad8c6d5329 (patch) | |
tree | 6b76d56a22e5927401579db0a81501760dafaa61 /config | |
parent | 353ab16db64c86122c0fcb9e1852b85c14b354b8 (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')
-rw-r--r-- | config/LightInstallationConfig.xml | 19 |
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> |