summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-08-01 09:20:19 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-08-01 09:20:19 +0200
commit023490db6ac86ee3f82b1b89e279d0b2ccae5fd3 (patch)
tree758cef58d4a33ef3221f766f34404830f94f6b06 /include
parenta624cd3593b73e2503b67c4fdb4007340271ce42 (diff)
Adds invert option, updates usage.
Diffstat (limited to 'include')
-rw-r--r--include/relabsd/device/axis_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/relabsd/device/axis_types.h b/include/relabsd/device/axis_types.h
index 20ed44c..f6a1207 100644
--- a/include/relabsd/device/axis_types.h
+++ b/include/relabsd/device/axis_types.h
@@ -2,7 +2,7 @@
/* Number of axes that can be configured. */
#define RELABSD_AXIS_VALID_AXES_COUNT 8
-#define RELABSD_AXIS_FLAGS_COUNT 4
+#define RELABSD_AXIS_FLAGS_COUNT 5
/*
* C enumerations are always int, and the standard does specify that it starts
@@ -27,7 +27,8 @@ enum relabsd_axis_flag
RELABSD_DIRECT,
RELABSD_REAL_FUZZ,
RELABSD_FRAMED,
- RELABSD_NOT_ABS
+ RELABSD_NOT_ABS,
+ RELABSD_INVERT
};
struct relabsd_axis