-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(refreshconf): Added Showtec lights
- Loading branch information
1 parent
44e3566
commit 5b85443
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class ShowtecHelixQ4000 extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { | ||
color: new RgbParam([1, 2, 3]), | ||
white: new RangeParam(4, { min: 0, max: 255 }) | ||
} | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 4 | ||
this.weight = 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class ShowtecPerformer2000 extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { | ||
dimmer: new RangeParam(1, { min: 0, max: 255 }), | ||
color: new RgbParam([2, 3, 4]), | ||
amber: new RangeParam(5, { min: 0, max: 255 }), | ||
lime: new RangeParam(6, { min: 0, max: 255 }), | ||
// 7: color presets | ||
strobe: new RangeParam(8, { min: 0, max: 255 }), | ||
zoom: new RangeParam(9, { min: 0, max: 255 }), | ||
dimmerSpeed: new RangeParam(6, { min: 0, max: 255 }) | ||
} | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 10 | ||
this.weight = 0 | ||
} | ||
} |