diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-01-13 18:38:08 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-01-13 18:38:08 +0000 |
commit | dfb73dfb70e03d5b0c3e66f59d7b0f5cb9b33d68 (patch) | |
tree | be40be722c574bea7b5d37a6bbe2ee1dedb58088 | |
parent | eae82521c5a97b79fb44ee30cbe65fa982669fc2 (diff) |
wacom: Add private enum for builtin tri-state
-rw-r--r-- | libwacom/libwacomint.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libwacom/libwacomint.h b/libwacom/libwacomint.h index 5e1d21b..b93e368 100644 --- a/libwacom/libwacomint.h +++ b/libwacom/libwacomint.h @@ -41,6 +41,12 @@ #define GENERIC_DEVICE_MATCH "generic" #define STYLUS_DATA_FILE "libwacom.stylus" +typedef enum { + IS_BUILTIN_UNSET = -1, + IS_BUILTIN_FALSE = 0, + IS_BUILTIN_TRUE = 1 +} IsBuiltin; + enum WacomFeature { FEATURE_STYLUS = (1 << 0), FEATURE_TOUCH = (1 << 1), |