summaryrefslogtreecommitdiff
path: root/src/nanolight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nanolight.h')
-rw-r--r--src/nanolight.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nanolight.h b/src/nanolight.h
index 648e291..66bde5a 100644
--- a/src/nanolight.h
+++ b/src/nanolight.h
@@ -41,10 +41,14 @@
#define PRISM_ROTATE (1<<12)
#define PRISM_SPIN (1<<13)
-/* Fixture properties */
+/* Fixture class properties */
#define COL_RGB (1<<0)
#define COL_CMY (1<<1)
+/* Fixture properties */
+#define REVERSE_PAN (1<<0)
+#define REVERSE_TILT (1<<1)
+
struct fixture_class
{
char *name;
@@ -100,6 +104,8 @@ struct fixture
int base_addr;
struct fixture_class *cls;
+ int flags;
+
float intensity; /* 0 (off) to 1 (full) */
float cyan; /* 0 (no filter) to 1 (full colour) */
float magenta; /* 0 (no filter) to 1 (full colour) */