input: remove some outdated comments

This commit is contained in:
Megamouse 2023-05-25 21:53:20 +02:00
parent f89d3d5077
commit 8e62a0e22d
2 changed files with 1 additions and 3 deletions

View File

@ -265,8 +265,6 @@ void ds3_pad_handler::check_add_device(hid_device* hidDevice, std::string_view p
std::string serial; std::string serial;
// Uses libusb for windows as hidapi will never work with UsbHid driver for the ds3 and it won't work with WinUsb either(windows hid api needs the UsbHid in the driver stack as far as I can tell)
// For other os use hidapi and hope for the best!
#ifdef _WIN32 #ifdef _WIN32
std::array<u8, 0xFF> buf{}; std::array<u8, 0xFF> buf{};
buf[0] = 0xF2; buf[0] = 0xF2;

View File

@ -927,7 +927,7 @@ int dualsense_pad_handler::send_output_report(DualSenseDevice* device)
const cfg_pad* config = device->config; const cfg_pad* config = device->config;
if (config == nullptr) if (config == nullptr)
return -2; // hid_write and hid_write_control return -1 on error return -2; // hid_write returns -1 on error
output_report_common common{}; output_report_common common{};