mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
hid/ds4: add logging for PID and VID
This commit is contained in:
parent
92ae57c9ee
commit
da6d1d359c
2 changed files with 15 additions and 1 deletions
|
|
@ -571,6 +571,7 @@ void ds4_pad_handler::check_add_device(hid_device* hidDevice, std::string_view p
|
|||
{
|
||||
hw_version = read_u32(&buf[35]);
|
||||
fw_version = read_u32(&buf[41]);
|
||||
ds4_log.notice("check_add_device: Got firmware version: hw_version: 0x%x, fw_version: 0x%x", hw_version, fw_version);
|
||||
}
|
||||
|
||||
if (hid_set_nonblocking(hidDevice, 1) == -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue