summaryrefslogtreecommitdiff
path: root/src/nanolight.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-06-30 18:40:21 +0200
committerThomas White <taw@physics.org>2019-06-30 18:40:21 +0200
commitf80065c24765ee1fcfc075c77f7ea55984a1d715 (patch)
treee5b98a039b38f94761cc1513ebe28639c7610256 /src/nanolight.h
parent8116354c05b0219e487ed70df45ca6bf917730aa (diff)
Add pan/tilt reverse
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) */