input-device: Add vendor/product ID properties and getters

This may be useful when trying to identify the device across sessions.

https://bugzilla.gnome.org/show_bug.cgi?id=740759
This commit is contained in:
Carlos Garnacho
2014-11-25 21:09:32 +01:00
parent 9660b001f7
commit 78fdefcf0c
4 changed files with 97 additions and 0 deletions

View File

@ -129,6 +129,9 @@ struct _ClutterInputDevice
GArray *scroll_info;
gchar *vendor_id;
gchar *product_id;
guint has_cursor : 1;
guint is_enabled : 1;
};