| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/src/config.h b/src/config.h index c0c83a7..07fcdfb 100644 --- a/src/config.h +++ b/src/config.h @@ -5,10 +5,25 @@  #include "axis.h" +/* Number of options that can be configured. */ +#define RELABSD_OPTIONS_COUNT 3 + +enum relabsd_option +{ +   RELABSD_DIRECT_OPTION, +   RELABSD_REAL_FUZZ_OPTION, +   RELABSD_FRAMED_OPTION +}; + +  struct relabsd_config_axis  { +/* relabsd axis properties */     int enabled;     int previous_value; +   int option[RELABSD_OPTIONS_COUNT]; + +/* Absolute axis properties */     int min;     int max;     int fuzz; | 


