diff options
-rw-r--r-- | libwacom/libwacom-database.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c index 0aa1253..91d163b 100644 --- a/libwacom/libwacom-database.c +++ b/libwacom/libwacom-database.c @@ -274,6 +274,10 @@ libwacom_parse_tablet_keyfile(const char *path) device->features & FEATURE_REVERSIBLE) g_warning ("Tablet '%s' is both reversible and builtin. This is impossible", device->match); + if (!(device->features & FEATURE_RING) && + (device->features & FEATURE_RING2)) + g_warning ("Table '%s' has Ring2 but no Ring. This is impossible", device->match); + device->num_strips = g_key_file_get_integer(keyfile, FEATURE_GROUP, "NumStrips", NULL); device->num_buttons = g_key_file_get_integer(keyfile, FEATURE_GROUP, "Buttons", NULL); |