From 385a3d17995dafde4f2b57f8d3a42d4d4782119d Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 3 Sep 2015 18:13:24 +0200 Subject: Now support 'real' relative input devices, introduces 'options', the virtual device name is now prefixed to help matching it with udev. --- src/config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/config.h') 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; -- cgit v1.2.3-70-g09d2