[libmanette] device: Document where to find some vendor/product IDs
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmanette] device: Document where to find some vendor/product IDs
- Date: Thu, 19 Nov 2020 07:17:43 +0000 (UTC)
commit 69f6429ceab89bad6cb5b32203d5af9d8d960b89
Author: vanadiae <vanadiae35 gmail com>
Date: Sat Oct 17 21:38:07 2020 +0200
device: Document where to find some vendor/product IDs
src/manette-device.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/manette-device.c b/src/manette-device.c
index 031bb7f..2e2a7f9 100644
--- a/src/manette-device.c
+++ b/src/manette-device.c
@@ -672,7 +672,9 @@ manette_device_get_name (ManetteDevice *self)
* manette_device_get_product_id:
* @self: a #ManetteDevice
*
- * Gets the device's product ID.
+ * Gets the device's product ID. You can find some product IDs defined in the
+ * kernel's code, in drivers/hid/hid-ids.h. Just note that there isn't all
+ * devices there, but sufficiently enough most of the time.
*
* Returns: the product ID of @self
*/
@@ -688,7 +690,9 @@ manette_device_get_product_id (ManetteDevice *self)
* manette_device_get_vendor_id:
* @self: a #ManetteDevice
*
- * Gets the device's vendor ID.
+ * Gets the device's vendor ID. You can find some vendor IDs defined in the
+ * kernel's code, in drivers/hid/hid-ids.h. Just note that there isn't all
+ * devices there, but sufficiently enough most of the time.
*
* Returns: the vendor ID of @self
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]