DC_USBHID_DEVICE_GET_PID(3)
β¨ NAME β¨
dc_usbhid_device_get_pid β bestie, this one gets the product id (PID) of the USB HID device. π
Okay so this is the dc_usbhid_device_get_pid(3) page, from the Library Functions Manual, and itβs giving βsimple getter, but make it iconic.β π
π LIBRARY π
This cutie lives in the library libdivecomputer. π«Ά
πΈ SYNOPSIS πΈ
#include <libdivecomputer/usbhid.h>
unsigned int
dc_usbhid_device_get_pid(dc_usbhid_device_t *device);
π DESCRIPTION π
Get the product id (PID) of the USB HID device. Itβs used for displaying, periodt. β¨
You need a valid usbhid device of type dc_usbhid_device_t, and you can retrieve one using dc_usbhid_iterator_new(3). No valid device, no PID moment β iykyk. π¦
π₯ RETURN VALUES π₯
It returns the product id (PID) of the given usbhid_device. Thatβs the whole vibe. π
π SEE ALSO π
Go peek at those too, bestie. π
π AUTHORS π
The libdivecomputer library was written by Jef Driesen, jef@libdivecomputer.org. π
This manpage is written by Vincent Hagen, vinnie@script4web.nl. πΈ
And thatβs the page, bestie! This lilβ beauty came from the Debian manual page, dated June 5, 2020 β mwah, bye! ππ
π¦ where this page comes from
- nixos 26.05: libdivecomputer 0.9.0
- nixpkgs unstable: libdivecomputer 0.9.0
- Copyright (C) 2020 Vincent Hagen <vinnie@script4web.nl>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms