diff options
-rw-r--r-- | libwacom/libwacom-database.c | 2 | ||||
-rw-r--r-- | libwacom/libwacomint.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c index 0aa1253..7311d98 100644 --- a/libwacom/libwacom-database.c +++ b/libwacom/libwacom-database.c @@ -274,6 +274,8 @@ 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); + g_message ("%d", g_key_file_get_integer(keyfile, FEATURE_GROUP, "NumStrips", NULL)); + 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); diff --git a/libwacom/libwacomint.h b/libwacom/libwacomint.h index 91966ba..dfa0925 100644 --- a/libwacom/libwacomint.h +++ b/libwacom/libwacomint.h @@ -56,6 +56,8 @@ enum WacomFeature { FEATURE_REVERSIBLE = (1 << 5) }; +/* WARNING: When adding new members to this struct + * make sure to update libwacom_copy() ! */ struct _WacomDevice { char *name; int width; |