diff options
author | 2016-04-27 08:13:59 +0200 | |
---|---|---|
committer | 2016-04-27 08:13:59 +0200 | |
commit | cfee536f22f032c7ead65075f73cc6fd8549e68b (patch) | |
tree | f4b4703dd0295571684456c19668f508b3ddcb3a /src/osd/modules/input/input_winhybrid.cpp | |
parent | be8159d01eaa7533e7758bf07384501dbc6214f3 (diff) |
Cleanups and version bumpmame0173
Diffstat (limited to 'src/osd/modules/input/input_winhybrid.cpp')
-rw-r--r-- | src/osd/modules/input/input_winhybrid.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osd/modules/input/input_winhybrid.cpp b/src/osd/modules/input/input_winhybrid.cpp index 22534b75453..60418f2f023 100644 --- a/src/osd/modules/input/input_winhybrid.cpp +++ b/src/osd/modules/input/input_winhybrid.cpp @@ -275,10 +275,10 @@ private: } //----------------------------------------------------------------------------- - // Enum each PNP device using WMI and check each device ID to see if it contains + // Enum each PNP device using WMI and check each device ID to see if it contains // "IG_" (ex. "VID_045E&PID_028E&IG_00"). If it does, then it's an XInput device // Unfortunately this information can not be found by just using DirectInput. - // Checking against a VID/PID of 0x028E/0x045E won't find 3rd party or future + // Checking against a VID/PID of 0x028E/0x045E won't find 3rd party or future // XInput devices. //----------------------------------------------------------------------------- HRESULT get_xinput_devices(std::list<DWORD> &xinput_id_list) const @@ -317,7 +317,7 @@ private: bstrDeviceID = bstr_ptr(SysAllocString(L"DeviceID")); bstrClassName = bstr_ptr(SysAllocString(L"Win32_PNPEntity")); - // Connect to WMI + // Connect to WMI hr = pIWbemLocator->ConnectServer( bstrNamespace.get(), nullptr, @@ -377,7 +377,7 @@ private: if (SUCCEEDED(hr) && var.vt == VT_BSTR && var.bstrVal != nullptr) { // Check if the device ID contains "IG_". If it does, then it's an XInput device - // Unfortunately this information can not be found by just using DirectInput + // Unfortunately this information can not be found by just using DirectInput if (wcsstr(var.bstrVal, L"IG_")) { // If it does, then get the VID/PID from var.bstrVal |