From 4991d2b8e5630eb4af7af8b9dca508c31db237c7 Mon Sep 17 00:00:00 2001 From: dokutan <54861821+dokutan@users.noreply.github.com> Date: Fri, 2 Apr 2021 22:08:18 +0200 Subject: [PATCH] Disable default libevdev polling timeout --- src/backends/macrodevice-libevdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/macrodevice-libevdev.h b/src/backends/macrodevice-libevdev.h index 645a396..5f654bb 100644 --- a/src/backends/macrodevice-libevdev.h +++ b/src/backends/macrodevice-libevdev.h @@ -67,7 +67,7 @@ class macrodevice::device_libevdev struct pollfd m_pollfd[1]; /// poll timeout - int m_timeout = 1000; + int m_timeout = -1; public: