diff options
Diffstat (limited to 'devel/electron37/files/patch-device_gamepad_gamepad__provider.cc')
-rw-r--r-- | devel/electron37/files/patch-device_gamepad_gamepad__provider.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-device_gamepad_gamepad__provider.cc b/devel/electron37/files/patch-device_gamepad_gamepad__provider.cc new file mode 100644 index 000000000000..04a3047a421b --- /dev/null +++ b/devel/electron37/files/patch-device_gamepad_gamepad__provider.cc @@ -0,0 +1,11 @@ +--- device/gamepad/gamepad_provider.cc.orig 2025-06-30 07:04:30 UTC ++++ device/gamepad/gamepad_provider.cc +@@ -155,7 +155,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep + + if (!polling_thread_) + polling_thread_ = std::make_unique<base::Thread>("Gamepad polling thread"); +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // On Linux, the data fetcher needs to watch file descriptors, so the message + // loop needs to be a libevent loop. + const base::MessagePumpType kMessageLoopType = base::MessagePumpType::IO; |