mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Hid: add some logging for initial send_output_report
This commit is contained in:
parent
8e62a0e22d
commit
7b9614fcf3
3 changed files with 12 additions and 3 deletions
|
|
@ -308,7 +308,10 @@ void ds3_pad_handler::check_add_device(hid_device* hidDevice, std::string_view p
|
|||
device->path = path;
|
||||
device->hidDevice = hidDevice;
|
||||
|
||||
send_output_report(device);
|
||||
if (send_output_report(device) == -1)
|
||||
{
|
||||
ds3_log.error("check_add_device: send_output_report failed! Reason: %s", hid_error(hidDevice));
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
ds3_log.notice("Added device: report_id=%d, serial='%s', path='%s'", device->report_id, serial, device->path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue