aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGravatar dxiao <dxiao@mit.edu>2011-02-20 14:57:22 -0500
committerGravatar dxiao <dxiao@mit.edu>2011-02-20 14:57:22 -0500
commitc2874a0cefa410aca3fdd33ed701b16bac520440 (patch)
tree89d8f405d9882d7a6561bbbf71f8cf45842e6140 /config
parent3049644b2ba2045efb96c698105956ce6fedae08 (diff)
C5Sign is now not runnable - use C5Sign-[no]pygame instead
Diffstat (limited to 'config')
-rw-r--r--config/C5Sign-nopygame.xml5
-rw-r--r--config/C5Sign-pygame.xml18
-rw-r--r--config/C5Sign.xml23
3 files changed, 30 insertions, 16 deletions
diff --git a/config/C5Sign-nopygame.xml b/config/C5Sign-nopygame.xml
new file mode 100644
index 0000000..1844ef5
--- /dev/null
+++ b/config/C5Sign-nopygame.xml
@@ -0,0 +1,5 @@
+<LightInstallation>
+ <InheritsFrom>config/C5Sign.xml</InheritsFrom>
+ <RendererConfiguration> </RendererConfiguration>
+ <InputConfiguration> </InputConfiguration>
+</LightInstallation>
diff --git a/config/C5Sign-pygame.xml b/config/C5Sign-pygame.xml
new file mode 100644
index 0000000..2040642
--- /dev/null
+++ b/config/C5Sign-pygame.xml
@@ -0,0 +1,18 @@
+<LightInstallation>
+ <RendererConfiguration>
+ <Renderer Scale="5">
+ <InheritsFrom>renderers/Pygame.xml</InheritsFrom>
+ </Renderer>
+ </RendererConfiguration>
+ <InputConfiguration>
+ <InputElement>
+ <Class>inputs.PygameInput</Class>
+ <Args>
+ <Id>pygamekey</Id>
+ <RefreshInterval>10</RefreshInterval>
+ <Keyboard>True</Keyboard>
+ </Args>
+ </InputElement>
+ </InputConfiguration>
+ <InheritsFrom>config/C5Sign.xml</InheritsFrom>
+</LightInstallation>
diff --git a/config/C5Sign.xml b/config/C5Sign.xml
index 77f6bcc..8039c07 100644
--- a/config/C5Sign.xml
+++ b/config/C5Sign.xml
@@ -35,20 +35,19 @@
</PixelMapper>
</PixelMapperConfiguration>
<RendererConfiguration>
- <Renderer>
+ <APPEND><Renderer>
<InheritsFrom>renderers/C5Renderer.xml</InheritsFrom>
- </Renderer>
- <Renderer Scale="5">
- <InheritsFrom>renderers/Pygame.xml</InheritsFrom>
- </Renderer>
+ </Renderer></APPEND>
</RendererConfiguration>
<InputConfiguration>
- <InputElement>
- <Class>inputs.ContinuousLocationInput</Class>
+ <APPEND><InputElement>
+ <Class>inputs.ParametricLocationInput</Class>
<Args>
<Id>centerleft</Id>
<xloc>left</xloc>
<yloc>center</yloc>
+ <xEquation>0</xEquation>
+ <yEquation>.5</yEquation>
<RefreshInterval>1800</RefreshInterval>
</Args>
</InputElement>
@@ -61,14 +60,6 @@
</Args>
</InputElement>
<InputElement>
- <Class>inputs.PygameInput</Class>
- <Args>
- <Id>pygamekey</Id>
- <RefreshInterval>10</RefreshInterval>
- <Keyboard>True</Keyboard>
- </Args>
- </InputElement>
- <InputElement>
<Class>inputs.UDPInput</Class>
<Args>
<Id>udp</Id>
@@ -82,7 +73,7 @@
<Id>center</Id>
<RefreshInterval>700</RefreshInterval>
</Args>
- </InputElement>
+ </InputElement></APPEND>
</InputConfiguration>
<BehaviorConfiguration>
<Behavior>