Changeset - 341e03b9b10a
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 7 years ago 2018-06-08 10:44:50
drewp@bigasterisk.com
demo device setup
Ignore-this: ebff811dcd0096be22c723ed333bb514
1 file changed with 8 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/collector/device.py
Show inline comments
 
@@ -124,8 +124,15 @@ def toOutputAttrs(deviceType, deviceAttr
 
            L9['colorChange']: 0,
 
            L9['colorSpeed']: 0,
 
            L9['goboShake']: _8bit(floatAttr(L9['goboShake'])),
 
            L9['goboChoose']: choiceAttr(L9['mini15GoboChoice']),
 
        }
 

	
 
        out[L9['goboChoose']] = {
 
            L9['open']: 0,
 
            L9['mini15Gobo1']: 10,
 
            L9['mini15Gobo2']: 20,
 
            L9['mini15Gobo3']: 30,
 
            }[deviceAttrSettings.get(L9['mini15GoboChoice'], L9['open'])]
 
        
 
        out[L9['red']], out[L9['green']], out[L9['blue']] = rgbAttr(L9['color'])
 
        out[L9['xRotation']], out[L9['xFine']] = fine16Attr(L9['rx'], 1/540)
 
        out[L9['yRotation']], out[L9['yFine']] = fine16Attr(L9['ry'], 1/240)
0 comments (0 inline, 0 general)