Hidraw should work

This commit is contained in:
Denis 2023-12-08 23:45:31 +01:00
parent 197947e214
commit 348b0906b5
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
4 changed files with 40 additions and 7 deletions

View file

@ -116,3 +116,11 @@ int dev_hidraw_get_fd(const dev_hidraw_t* in_dev) {
return in_dev->fd;
}
int16_t dev_hidraw_get_pid(const dev_hidraw_t* in_dev) {
return in_dev->info.product;
}
int16_t dev_hidraw_get_vid(const dev_hidraw_t* in_dev) {
return in_dev->info.vendor;
}