From 4b65e3a95f666eb160471e29ac77a9afa03b6c46 Mon Sep 17 00:00:00 2001 From: loki Date: Fri, 17 Jan 2020 15:50:49 +0100 Subject: [PATCH] Possible fix for REL_HWEEL_HI_RES not found on Debian --- sunshine/platform/linux_evdev.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sunshine/platform/linux_evdev.cpp b/sunshine/platform/linux_evdev.cpp index 9ba08682..a2d396b8 100644 --- a/sunshine/platform/linux_evdev.cpp +++ b/sunshine/platform/linux_evdev.cpp @@ -13,6 +13,11 @@ #include "sunshine/main.h" #include "sunshine/utility.h" +// Support older versions +#ifndef REL_HWHEEL_HI_RES +#define REL_HWHEEL_HI_RES 0x0c +#endif + namespace platf { using namespace std::literals; using evdev_t = util::safe_ptr;