summaryrefslogtreecommitdiff
path: root/fixtures/generic/dimmer.h
diff options
context:
space:
mode:
Diffstat (limited to 'fixtures/generic/dimmer.h')
-rw-r--r--fixtures/generic/dimmer.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/fixtures/generic/dimmer.h b/fixtures/generic/dimmer.h
new file mode 100644
index 0000000..a08d293
--- /dev/null
+++ b/fixtures/generic/dimmer.h
@@ -0,0 +1,48 @@
+/*
+ * dimmer.h
+ *
+ * Copyright © 2019-2020 Thomas White <taw@bitwiz.me.uk>
+ *
+ * This file is part of NanoLight.
+ *
+ * NanoLight is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+struct fixture_class generic_dimmer_class = {
+
+ .name = "Generic dimmer",
+
+ .properties = 0,
+ .attributes = INTENSITY,
+ .attributes16 = 0,
+
+ .intensity_offset = 0,
+
+ .n_magic = 0,
+ .magic_chans = NULL,
+ .magic_vals = NULL,
+
+ .n_gobos = 0,
+ .n_gobo_chans = 0,
+ .gobo_chans = NULL,
+ .gobo_vals = NULL,
+ .gobo_flags = NULL,
+
+ .n_prisms = 0,
+ .n_prism_chans = 0,
+ .prism_chans = NULL,
+ .prism_vals = NULL,
+ .prism_flags = NULL,
+};