Hidraw should work
This commit is contained in:
parent
197947e214
commit
348b0906b5
4 changed files with 40 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue