aboutsummaryrefslogtreecommitdiff
path: root/behaviors/DimColor.xml
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2011-01-26 22:24:55 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2011-01-26 22:24:55 -0500
commit5d29906fff79bc6e4ba83be7028e1380a0014d21 (patch)
tree0bb2350046aa69c3b1095983fea59c49026a857b /behaviors/DimColor.xml
parent2019fb2895237aa9d86450daaf6d90831189fc13 (diff)
parent82f99fc4583ca3cc9861a9fe30990a4a9ef162c4 (diff)
Merge branch 'mobileapp' into biginstall
Conflicts: behaviors/RestrictLocation.py behaviors/Square.py config/6thFloor.xml inputs/TCPInput.py layouts/60StripLayout.xml operationscore/Behavior.py operationscore/PixelMapper.py pixelcore/Pixel.py pixelcore/Screen.py renderers/60StripSeq.xml
Diffstat (limited to 'behaviors/DimColor.xml')
-rw-r--r--behaviors/DimColor.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/behaviors/DimColor.xml b/behaviors/DimColor.xml
new file mode 100644
index 0000000..b01908e
--- /dev/null
+++ b/behaviors/DimColor.xml
@@ -0,0 +1,8 @@
+<Behavior>
+ <Class>behaviors.ModifyParam</Class>
+ <Args>
+ <ParamType>Sensor</ParamType>
+ <ParamName>Color</ParamName>
+ <ParamOp>[chan*.99 for chan in {val}]</ParamOp>
+ </Args>
+</Behavior>