diff options
author | Russell Cohen <rcoh@mit.edu> | 2010-11-26 00:07:14 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2010-11-26 00:07:14 -0500 |
commit | 9c9babfa7032b443138c4b457aabaf79fad385b3 (patch) | |
tree | f9bf3e8b51423bf6769d2c655ffa15d81a42333f /config/LightInstallationConfig.xml | |
parent | 1754a1f4511ef52f0a093dd0f9915196bd4261e7 (diff) |
Add PixelMapper functionality to abstract away from mapping locations->Pixels.
Diffstat (limited to 'config/LightInstallationConfig.xml')
-rw-r--r-- | config/LightInstallationConfig.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/LightInstallationConfig.xml b/config/LightInstallationConfig.xml index 3f73e0c..713646e 100644 --- a/config/LightInstallationConfig.xml +++ b/config/LightInstallationConfig.xml @@ -1,7 +1,6 @@ <!---All configuration items contain a "Class" tag specifying the python class they represent, and an "Args" tag specifying the args to be passed in.--> <LightInstallation> <PixelConfiguration> - <PixelStrip> <Class>layouts.ZigzagLayout</Class><!--Name of Layout Class, imported dynamically via a eval('import ' + name)--> @@ -35,6 +34,14 @@ </Args> </PixelStrip> </PixelConfiguration> + <PixelMapperConfiguration> + <PixelMapper> + <Class>pixelmappers.SimpleMapper</Class> + <Args> + <Id>simplemap</Id> + </Args> + </PixelMapper> + </PixelMapperConfiguration> <RendererConfiguration> <Renderer> <Class>renderers.PygameRenderer</Class> |