diff --git a/browser-app.cpp b/browser-app.cpp index ba155df95..61ee6a590 100644 --- a/browser-app.cpp +++ b/browser-app.cpp @@ -78,10 +78,16 @@ void BrowserApp::OnBeforeCommandLineProcessing(const CefString &, CefRefPtrGetSwitchValue("disable-features"); disableFeatures += ",HardwareMediaKeyHandling"; +#ifdef _WIN32 + disableFeatures += ",EnableWindowsGamingInputDataFetcher"; +#endif disableFeatures += ",WebBluetooth"; command_line->AppendSwitchWithValue("disable-features", disableFeatures); } else { command_line->AppendSwitchWithValue("disable-features", "WebBluetooth," +#ifdef _WIN32 + "EnableWindowsGamingInputDataFetcher," +#endif "HardwareMediaKeyHandling"); }