There is no touch-only wacom tablet at this point, so it's safe to assume that all tablets have some stylus.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- libwacom/libwacom-database.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c index dd69fd7..70b93ca 100644 --- a/libwacom/libwacom-database.c +++ b/libwacom/libwacom-database.c @@ -366,6 +366,10 @@ libwacom_parse_tablet_keyfile(const char *path) } g_strfreev (styli_list); device->supported_styli = (int *) g_array_free (array, FALSE); + } else { + device->supported_styli = g_new (int, 1); + *device->supported_styli = 0xfffff; + device->num_styli = 1; } /* Features */ -- 1.7.10 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel