Input: fix build

This commit is contained in:
Megamouse 2021-02-12 02:44:26 +01:00
parent f0b7afd7cc
commit 1479468730
5 changed files with 18 additions and 17 deletions

View file

@ -222,6 +222,7 @@ void ds3_pad_handler::check_add_device(hid_device* hidDevice, std::string_view p
hid_close(hidDevice);
return;
}
device->report_id = buf[0];
#endif
{
@ -236,7 +237,6 @@ void ds3_pad_handler::check_add_device(hid_device* hidDevice, std::string_view p
return;
}
device->report_id = buf[0];
device->path = path;
device->hidDevice = hidDevice;